Explicit catch ignores to make linters happy
This commit is contained in:
parent
0bb921adad
commit
1ad69adf4e
@ -122,6 +122,7 @@ public class AsyncDownloaderFromAndroid implements AsyncDownloader {
|
||||
try {
|
||||
Thread.sleep(1000);
|
||||
} catch (Exception e) {
|
||||
// ignore
|
||||
}
|
||||
sendProgress(getBytesRead(), getTotalBytes());
|
||||
}
|
||||
|
@ -169,6 +169,7 @@ public class HttpDownloader extends Downloader {
|
||||
if (stream != null)
|
||||
stream.close();
|
||||
} catch (IOException e) {
|
||||
// ignore
|
||||
}
|
||||
|
||||
connection.disconnect();
|
||||
|
@ -154,7 +154,9 @@ public final class Request {
|
||||
|
||||
try {
|
||||
Thread.sleep(100);
|
||||
} catch (Exception e) { }
|
||||
} catch (Exception e) {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
|
||||
return line;
|
||||
|
Loading…
x
Reference in New Issue
Block a user