Clean up
This commit is contained in:
parent
abebf06a27
commit
94a0de81b0
1 changed files with 2 additions and 4 deletions
|
|
@ -15,7 +15,6 @@ import com.kabouzeid.gramophone.util.Util;
|
|||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
import hugo.weaving.DebugLog;
|
||||
import retrofit.Response;
|
||||
|
||||
/**
|
||||
|
|
@ -76,7 +75,6 @@ public class ArtistImageFetcher implements DataFetcher<InputStream> {
|
|||
}
|
||||
}
|
||||
|
||||
@DebugLog
|
||||
@Override
|
||||
public void cancel() {
|
||||
isCancelled = true;
|
||||
|
|
@ -86,8 +84,8 @@ public class ArtistImageFetcher implements DataFetcher<InputStream> {
|
|||
if (inputStream != null) {
|
||||
try {
|
||||
inputStream.close();
|
||||
} catch (Throwable t) {
|
||||
t.printStackTrace();
|
||||
} catch (IOException | IllegalStateException e) {
|
||||
// do nothing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue