Fix README, minor refactor

This commit is contained in:
Robert Carosi
2021-11-13 19:48:47 +01:00
parent 1209a64626
commit d5232e8f80
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ Synchronizes articles from Pocket to the Remarkable tablet.
## Thanks ## Thanks
- https://epub.press/ for providing a free epub generator API. Consider donating to support this project. - https://epub.press/ for providing a free epub generator API. Consider donating to support this project.
- https://github.com/juruen/rmapi for providing a Java API for the Remarkable Cloud. - https://github.com/jlarriba/jrmapi for providing a Java API for the Remarkable Cloud.
## Support ## Support
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/nov1n) if you want to say thanks. :-) [!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/nov1n) if you want to say thanks. :-)

View File

@@ -97,7 +97,7 @@ final class SyncService {
pocketService.getArticles().stream() pocketService.getArticles().stream()
.filter(e -> !articlesOnRm.contains(e.title())) .filter(e -> !articlesOnRm.contains(e.title()))
.collect(Collectors.toList()); .collect(Collectors.toList());
if (unsynced.size() == 0) { if (unsynced.isEmpty()) {
LOG.info("All Pocket articles are synced with Remarkable."); LOG.info("All Pocket articles are synced with Remarkable.");
return; return;
} }