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 {
|
try {
|
||||||
Thread.sleep(1000);
|
Thread.sleep(1000);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
// ignore
|
||||||
}
|
}
|
||||||
sendProgress(getBytesRead(), getTotalBytes());
|
sendProgress(getBytesRead(), getTotalBytes());
|
||||||
}
|
}
|
||||||
|
@ -169,6 +169,7 @@ public class HttpDownloader extends Downloader {
|
|||||||
if (stream != null)
|
if (stream != null)
|
||||||
stream.close();
|
stream.close();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
// ignore
|
||||||
}
|
}
|
||||||
|
|
||||||
connection.disconnect();
|
connection.disconnect();
|
||||||
|
@ -154,7 +154,9 @@ public final class Request {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
Thread.sleep(100);
|
Thread.sleep(100);
|
||||||
} catch (Exception e) { }
|
} catch (Exception e) {
|
||||||
|
// ignore
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return line;
|
return line;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user