summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorJonas Kalderstam <spacecowboy@users.noreply.github.com>2021-02-06 15:54:25 +0100
committerGitHub <noreply@github.com>2021-02-06 15:54:25 +0100
commit3a9e1fc2dd1cb80a568bdcc05e4cdd31ca1c4ca3 (patch)
tree250c8663579d410a00aae85147323b47040b95d0 /core/src
parent08edd151f9bc01873128fa97c948841b65b6455c (diff)
downloadAntennaPod-3a9e1fc2dd1cb80a568bdcc05e4cdd31ca1c4ca3.zip
Applied code review suggestions
Co-authored-by: ByteHamster <ByteHamster@users.noreply.github.com>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/java/de/danoeh/antennapod/core/storage/ExceptFavoriteCleanupAlgorithm.java4
1 files changed, 1 insertions, 3 deletions
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;
}
}