Merge pull request #324 from DevFactory/release/redundant-modifiers-should-not-be-used-fix-1

Code quality fix - Redundant modifiers should not be used.
This commit is contained in:
Christian Schabesberger 2016-06-30 16:56:11 +02:00 committed by GitHub
commit 3b36b7f01b
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;