diff options
author | Martin Fietz <Martin.Fietz@gmail.com> | 2016-06-30 08:57:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-30 08:57:36 +0200 |
commit | 54f4ad7ba0db7f555449a4c666be9394841c72ce (patch) | |
tree | 760235da19f39e1e4bdcd49169e3bdae50e1c5dd /core/src | |
parent | d295614933bee7991ba65fe89cc34c0cbd17fb07 (diff) | |
parent | 8425ac6190c34df1c3506a4d299f1838c8db69b4 (diff) | |
download | AntennaPod-54f4ad7ba0db7f555449a4c666be9394841c72ce.zip |
Merge pull request #2054 from DevFactory/release/Utility_classes_should_not_have_public_constructors_fix_2
squid:S1118 - Utility classes should not have public constructors (part 2)
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/free/java/de/danoeh/antennapod/core/feed/FeedMediaFlavorHelper.java | 1 | ||||
-rw-r--r-- | core/src/play/java/de/danoeh/antennapod/core/feed/FeedMediaFlavorHelper.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/core/src/free/java/de/danoeh/antennapod/core/feed/FeedMediaFlavorHelper.java b/core/src/free/java/de/danoeh/antennapod/core/feed/FeedMediaFlavorHelper.java index 7595d9d0b..8818f6b46 100644 --- a/core/src/free/java/de/danoeh/antennapod/core/feed/FeedMediaFlavorHelper.java +++ b/core/src/free/java/de/danoeh/antennapod/core/feed/FeedMediaFlavorHelper.java @@ -4,6 +4,7 @@ package de.danoeh.antennapod.core.feed; * Implements methods for FeedMedia that are flavor dependent. */ public class FeedMediaFlavorHelper { + private FeedMediaFlavorHelper(){} static boolean instanceOfRemoteMedia(Object o) { return false; } diff --git a/core/src/play/java/de/danoeh/antennapod/core/feed/FeedMediaFlavorHelper.java b/core/src/play/java/de/danoeh/antennapod/core/feed/FeedMediaFlavorHelper.java index b89904af9..fe0f771d6 100644 --- a/core/src/play/java/de/danoeh/antennapod/core/feed/FeedMediaFlavorHelper.java +++ b/core/src/play/java/de/danoeh/antennapod/core/feed/FeedMediaFlavorHelper.java @@ -6,6 +6,7 @@ import de.danoeh.antennapod.core.cast.RemoteMedia; * Implements methods for FeedMedia that are flavor dependent. */ public class FeedMediaFlavorHelper { + private FeedMediaFlavorHelper(){} static boolean instanceOfRemoteMedia(Object o) { return o instanceof RemoteMedia; } |