From 3a9e1fc2dd1cb80a568bdcc05e4cdd31ca1c4ca3 Mon Sep 17 00:00:00 2001 From: Jonas Kalderstam Date: Sat, 6 Feb 2021 15:54:25 +0100 Subject: Applied code review suggestions Co-authored-by: ByteHamster --- .../antennapod/core/storage/ExceptFavoriteCleanupAlgorithm.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'core/src/main') diff --git a/core/src/main/java/de/danoeh/antennapod/core/storage/ExceptFavoriteCleanupAlgorithm.java b/core/src/main/java/de/danoeh/antennapod/core/storage/ExceptFavoriteCleanupAlgorithm.java index 0a495115f..d2920db9c 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/storage/ExceptFavoriteCleanupAlgorithm.java +++ b/core/src/main/java/de/danoeh/antennapod/core/storage/ExceptFavoriteCleanupAlgorithm.java @@ -63,8 +63,6 @@ public class ExceptFavoriteCleanupAlgorithm extends EpisodeCleanupAlgorithm { } int counter = delete.size(); - - Log.i(TAG, String.format(Locale.US, "Auto-delete deleted %d episodes (%d requested)", counter, numberOfEpisodesToDelete)); @@ -88,6 +86,6 @@ public class ExceptFavoriteCleanupAlgorithm extends EpisodeCleanupAlgorithm { @Override public int getDefaultCleanupParameter() { - return getNumEpisodesToCleanup(0); + return 0; } } -- cgit v1.2.3