Remove 'dead' code, bringing the class back in line with upstream
This commit is contained in:
parent
9c52e57204
commit
72e0e67c3c
1 changed files with 0 additions and 8 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue