diff options
author | Andrew Gaul <andrew@gaul.org> | 2013-07-13 18:44:37 -0700 |
---|---|---|
committer | Andrew Gaul <andrew@gaul.org> | 2013-07-14 22:13:49 -0700 |
commit | b1cdfe20416dc78349dc78b279f718076e07643c (patch) | |
tree | 5d28c589a1c3cb8f5685fa4439ad2b1d72a4ecb4 /src/de/danoeh/antennapod/storage/DownloadRequester.java | |
parent | 941fa9062e2ac1709e8c99208e2f63226fe2c7a8 (diff) | |
download | AntennaPod-b1cdfe20416dc78349dc78b279f718076e07643c.zip |
Address FindBugs warnings
This commit fixes 36 of the 109 warnings.
Diffstat (limited to 'src/de/danoeh/antennapod/storage/DownloadRequester.java')
-rw-r--r-- | src/de/danoeh/antennapod/storage/DownloadRequester.java | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/de/danoeh/antennapod/storage/DownloadRequester.java b/src/de/danoeh/antennapod/storage/DownloadRequester.java index 29bd764dd..5f782aa63 100644 --- a/src/de/danoeh/antennapod/storage/DownloadRequester.java +++ b/src/de/danoeh/antennapod/storage/DownloadRequester.java @@ -24,9 +24,9 @@ import de.danoeh.antennapod.util.URLChecker; public class DownloadRequester { private static final String TAG = "DownloadRequester"; - public static String IMAGE_DOWNLOADPATH = "images/"; - public static String FEED_DOWNLOADPATH = "cache/"; - public static String MEDIA_DOWNLOADPATH = "media/"; + public static final String IMAGE_DOWNLOADPATH = "images/"; + public static final String FEED_DOWNLOADPATH = "cache/"; + public static final String MEDIA_DOWNLOADPATH = "media/"; private static DownloadRequester downloader; @@ -223,10 +223,6 @@ public class DownloadRequester { return downloads.isEmpty(); } - public FeedFile getDownloadAt(int index) { - return downloads.get(index); - } - /** Remove an object from the downloads-list of the requester. */ public void removeDownload(FeedFile f) { if (downloads.remove(f.getDownload_url()) == null) { |