Explicit catch ignores to make linters happy

This commit is contained in:
Daniel Martí 2015-10-23 12:58:51 +02:00
parent 0bb921adad
commit 1ad69adf4e
3 changed files with 5 additions and 1 deletions

View File

@ -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());
} }

View File

@ -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();

View File

@ -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;