From 8425ac6190c34df1c3506a4d299f1838c8db69b4 Mon Sep 17 00:00:00 2001 From: Soso Tughushi Date: Wed, 29 Jun 2016 22:34:05 +0400 Subject: [PATCH] Fixed rule 'Utility classes should not have public constructors' --- .../de/danoeh/antennapod/core/feed/FeedMediaFlavorHelper.java | 1 + .../de/danoeh/antennapod/core/feed/FeedMediaFlavorHelper.java | 1 + 2 files changed, 2 insertions(+) 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; }