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)
This commit is contained in:
Martin Fietz 2016-06-30 08:57:36 +02:00 committed by GitHub
commit 54f4ad7ba0
2 changed files with 2 additions and 0 deletions

View File

@ -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;
}

View File

@ -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;
}