Skip to content

Commit 057b0eb

Browse files
committed
Minor fix to ProtobufGenerator._reportEnumError()
1 parent b2b91b6 commit 057b0eb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

protobuf/src/main/java/tools/jackson/dataformat/protobuf/ProtobufGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -993,8 +993,8 @@ protected void _writeEnum(int index) throws JacksonException
993993

994994
protected void _reportEnumError(Object enumValue) throws JacksonException
995995
{
996-
_reportErrorF("No Enum '%s' found for property '%s'; valid values = %s"
997-
+_currField.getEnumValues(), _currField.name, enumValue);
996+
_reportErrorF("No Enum '%s' found for property '%s'; valid values = %s",
997+
enumValue, _currField.name, _currField.getEnumValues());
998998
}
999999

10001000
/*

0 commit comments

Comments
 (0)