This commit is contained in:
Karim Abou Zeid 2016-01-05 18:00:30 +01:00
commit 94a0de81b0

View file

@ -15,7 +15,6 @@ import com.kabouzeid.gramophone.util.Util;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import hugo.weaving.DebugLog;
import retrofit.Response; import retrofit.Response;
/** /**
@ -76,7 +75,6 @@ public class ArtistImageFetcher implements DataFetcher<InputStream> {
} }
} }
@DebugLog
@Override @Override
public void cancel() { public void cancel() {
isCancelled = true; isCancelled = true;
@ -86,8 +84,8 @@ public class ArtistImageFetcher implements DataFetcher<InputStream> {
if (inputStream != null) { if (inputStream != null) {
try { try {
inputStream.close(); inputStream.close();
} catch (Throwable t) { } catch (IOException | IllegalStateException e) {
t.printStackTrace(); // do nothing
} }
} }
} }