From e578f4ca93f6292f62e4b4c7fa11d17fe0b27c71 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sun, 7 Apr 2024 23:28:14 +0200 Subject: CI tweaks (#7069) - Run Checkstyle with gradle to make it easier for users - No longer needs different configuration for new code - Exclude current violations - Fix some violations that somehow couldn't be specified in the exclusion file - Print SpotBugs/Lint/Checkstly violations in GitHub format - Then the CI run gets annotated on the web UI --- .../net/download/service/episode/autodownload/APCleanupAlgorithm.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'net/download/service') diff --git a/net/download/service/src/main/java/de/danoeh/antennapod/net/download/service/episode/autodownload/APCleanupAlgorithm.java b/net/download/service/src/main/java/de/danoeh/antennapod/net/download/service/episode/autodownload/APCleanupAlgorithm.java index bc50c8c1f..d23becdbb 100644 --- a/net/download/service/src/main/java/de/danoeh/antennapod/net/download/service/episode/autodownload/APCleanupAlgorithm.java +++ b/net/download/service/src/main/java/de/danoeh/antennapod/net/download/service/episode/autodownload/APCleanupAlgorithm.java @@ -121,7 +121,9 @@ public class APCleanupAlgorithm extends EpisodeCleanupAlgorithm { } @VisibleForTesting - public int getNumberOfHoursAfterPlayback() { return numberOfHoursAfterPlayback; } + public int getNumberOfHoursAfterPlayback() { + return numberOfHoursAfterPlayback; + } private static Date minusHours(Date baseDate, int numberOfHours) { Calendar cal = Calendar.getInstance(); -- cgit v1.2.3