1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 16:40:32 +00:00

Fixing squid:S2333 - Redundant modifiers should not be used.

This commit is contained in:
Faisal Hameed 2016-06-24 05:44:09 +05:00
parent 25a776cc93
commit a44518a757
2 changed files with 12 additions and 12 deletions

View File

@ -2,13 +2,13 @@ package us.shandian.giga.get;
public interface DownloadManager
{
public static final int BLOCK_SIZE = 512 * 1024;
int BLOCK_SIZE = 512 * 1024;
public int startMission(String url, String name, int threads);
public void resumeMission(int id);
public void pauseMission(int id);
public void deleteMission(int id);
public DownloadMission getMission(int id);
public int getCount();
public String getLocation();
int startMission(String url, String name, int threads);
void resumeMission(int id);
void pauseMission(int id);
void deleteMission(int id);
DownloadMission getMission(int id);
int getCount();
String getLocation();
}

View File

@ -20,12 +20,12 @@ public class DownloadMission
{
private static final String TAG = DownloadMission.class.getSimpleName();
public static interface MissionListener {
public interface MissionListener {
HashMap<MissionListener, Handler> handlerStore = new HashMap<>();
public void onProgressUpdate(long done, long total);
public void onFinish();
public void onError(int errCode);
void onProgressUpdate(long done, long total);
void onFinish();
void onError(int errCode);
}
public static final int ERROR_SERVER_UNSUPPORTED = 206;