diff options
author | ByteHamster <info@bytehamster.com> | 2018-12-26 08:53:41 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2018-12-26 08:53:41 +0100 |
commit | 02bf71551bacd65be19ff6fb220e70162c4534da (patch) | |
tree | 99d23c57b960887927d64b602cbf3b14811709ea /core/src/main | |
parent | bb4b4655d25713dfddca7a52c5088938c604114b (diff) | |
download | AntennaPod-02bf71551bacd65be19ff6fb220e70162c4534da.zip |
Code style
Diffstat (limited to 'core/src/main')
3 files changed, 2 insertions, 3 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java b/core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java index 049dd120d..c44999c88 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java +++ b/core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java @@ -113,7 +113,6 @@ public class UserPreferences { private static final String PREF_RIGHT_VOLUME = "prefRightVolume"; // Experimental - public static final String PREF_SONIC = "prefSonic"; private static final String PREF_STEREO_TO_MONO = "PrefStereoToMono"; public static final String PREF_CAST_ENABLED = "prefCast"; //Used for enabling Chromecast support public static final int EPISODE_CLEANUP_QUEUE = -1; diff --git a/core/src/main/java/de/danoeh/antennapod/core/util/Consumer.java b/core/src/main/java/de/danoeh/antennapod/core/util/Consumer.java index f6893315f..13a87af0d 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/util/Consumer.java +++ b/core/src/main/java/de/danoeh/antennapod/core/util/Consumer.java @@ -2,4 +2,4 @@ package de.danoeh.antennapod.core.util; public interface Consumer<T> { void accept(T t); -}
\ No newline at end of file +} diff --git a/core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java b/core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java index 0555351d4..847c5223b 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java +++ b/core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java @@ -781,7 +781,7 @@ public abstract class PlaybackController { private void initServiceNotRunning() { mediaLoader = Maybe.create((MaybeOnSubscribe<Playable>) emitter -> { Playable media = getMedia(); - if(media != null) { + if (media != null) { emitter.onSuccess(media); } else { emitter.onComplete(); |