Fix lint in FlacExtractor

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=139064912
This commit is contained in:
aquilescanta 2016-11-14 05:56:05 -08:00 committed by Oliver Woodman
parent bcc6c9ef43
commit 6d5d054b45

View File

@ -95,7 +95,7 @@ public final class FlacExtractor implements Extractor {
if (streamInfo == null) { if (streamInfo == null) {
throw new IOException("Metadata decoding failed"); throw new IOException("Metadata decoding failed");
} }
} catch (IOException e){ } catch (IOException e) {
decoderJni.reset(0); decoderJni.reset(0);
input.setRetryPosition(0, e); input.setRetryPosition(0, e);
throw e; // never executes throw e; // never executes
@ -137,7 +137,7 @@ public final class FlacExtractor implements Extractor {
int size; int size;
try { try {
size = decoderJni.decodeSample(outputByteBuffer); size = decoderJni.decodeSample(outputByteBuffer);
} catch (IOException e){ } catch (IOException e) {
if (lastDecodePosition >= 0) { if (lastDecodePosition >= 0) {
decoderJni.reset(lastDecodePosition); decoderJni.reset(lastDecodePosition);
input.setRetryPosition(lastDecodePosition, e); input.setRetryPosition(lastDecodePosition, e);