Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeli0 committed May 14, 2024
1 parent 0d45723 commit 28b1139
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1064,8 +1064,9 @@ private static Field parseField(
.setIsMessage(fieldDescriptor.getJavaType() == FieldDescriptor.JavaType.MESSAGE)
.setIsEnum(fieldDescriptor.getJavaType() == FieldDescriptor.JavaType.ENUM)
.setIsContainedInOneof(fieldDescriptor.getRealContainingOneof() != null)
.setIsProto3Optional(fieldDescriptor.getContainingOneof() != null
&& fieldDescriptor.getRealContainingOneof() == null)
.setIsProto3Optional(
fieldDescriptor.getContainingOneof() != null
&& fieldDescriptor.getRealContainingOneof() == null)
.setIsRepeated(fieldDescriptor.isRepeated())
.setIsRequired(isRequired)
.setFieldInfoFormat(fieldInfoFormat)
Expand Down

0 comments on commit 28b1139

Please sign in to comment.