Remove 'dead' code, bringing the class back in line with upstream

This commit is contained in:
Arnout Engelen 2019-03-20 14:41:37 +01:00
parent 9c52e57204
commit 72e0e67c3c
No known key found for this signature in database
GPG key ID: BB8C0F854A1E2105

View file

@ -114,10 +114,6 @@ public abstract class AbstractParser<MessageType extends MessageLite>
return message;
} catch (InvalidProtocolBufferException e) {
throw e;
} catch (IOException e) {
throw new RuntimeException(
"Reading from a ByteString threw an IOException (should " +
"never happen).", e);
}
}
@ -151,10 +147,6 @@ public abstract class AbstractParser<MessageType extends MessageLite>
return message;
} catch (InvalidProtocolBufferException e) {
throw e;
} catch (IOException e) {
throw new RuntimeException(
"Reading from a byte array threw an IOException (should " +
"never happen).", e);
}
}