summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2012-07-05 22:16:35 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2012-07-05 22:16:35 +0200
commita7c1580eb54c3866a07b28b2e4df01576990fb19 (patch)
treec2133f3d093e69e60dbc9623d9b3a979ff531857 /src
parent61e77e55224f877d8a7e0deec8b3121f2eb2112d (diff)
downloadAntennaPod-a7c1580eb54c3866a07b28b2e4df01576990fb19.zip
Updated access modifiers
Diffstat (limited to 'src')
-rw-r--r--src/de/podfetcher/asynctask/DownloadObserver.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/de/podfetcher/asynctask/DownloadObserver.java b/src/de/podfetcher/asynctask/DownloadObserver.java
index 3f8183903..f94c3c457 100644
--- a/src/de/podfetcher/asynctask/DownloadObserver.java
+++ b/src/de/podfetcher/asynctask/DownloadObserver.java
@@ -115,7 +115,7 @@ public class DownloadObserver extends AsyncTask<Void, Void, Void> {
}
/** Request a cursor with all running Feedfile downloads */
- public Cursor getDownloadCursor() {
+ private Cursor getDownloadCursor() {
// Collect download ids
int numDownloads = requester.getNumberOfDownloads();
long ids[] = new long[numDownloads];
@@ -131,7 +131,8 @@ public class DownloadObserver extends AsyncTask<Void, Void, Void> {
return result;
}
- public int getDownloadStatus(Cursor c, String column) {
+ /** Return value of a specific column */
+ private int getDownloadStatus(Cursor c, String column) {
int status = c.getInt(c.getColumnIndex(column));
return status;
}
@@ -150,6 +151,7 @@ public class DownloadObserver extends AsyncTask<Void, Void, Void> {
return context;
}
+ /** Find a DownloadStatus entry by its FeedFile */
public DownloadStatus findDownloadStatus(FeedFile f) {
for (DownloadStatus status : statusList) {
if (status.feedfile == f) {