Skip to content

Commit b8c02d0

Browse files
authored
Merge pull request #106 from marsqing/master
fix calling _skipUnknownValue() twice
2 parents 1ea012f + 3759476 commit b8c02d0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

protobuf/src/main/java/com/fasterxml/jackson/dataformat/protobuf/ProtobufParser.java

-1
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,6 @@ private JsonToken _skipUnknownField(int tag, int wireType) throws IOException
923923
// Note: may be null; if so, value needs to be skipped
924924
_currentField = _currentMessage.field(tag >> 3);
925925
if (_currentField == null) {
926-
_skipUnknownValue(wireType);
927926
continue;
928927
}
929928
_parsingContext.setCurrentName(_currentField.name);

0 commit comments

Comments
 (0)