Skip to content

Commit

Permalink
remove non-existent reference (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewparmet authored Dec 10, 2020
1 parent 039057e commit d298733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protokt-codegen/src/main/resources/renderers.stg
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ nonDefaultValue(field, name) ::= <%
<elseif (field.repeated)>
(<field.fieldName>.isNotEmpty())<\ >
<elseif (isBytes.(field.type) || isString.(field.type))>
(<proto2Check()><name>.isNotEmpty())<\ >
(<name>.isNotEmpty())<\ >
<elseif (isMessage.(field.type))>
(<field.fieldName> != null)<\ >
<elseif (isEnum.(field.type))>
Expand Down

0 comments on commit d298733

Please sign in to comment.