Skip to content

Commit d298733

Browse files
authored
remove non-existent reference (#95)
1 parent 039057e commit d298733

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protokt-codegen/src/main/resources/renderers.stg

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ nonDefaultValue(field, name) ::= <%
172172
<elseif (field.repeated)>
173173
(<field.fieldName>.isNotEmpty())<\ >
174174
<elseif (isBytes.(field.type) || isString.(field.type))>
175-
(<proto2Check()><name>.isNotEmpty())<\ >
175+
(<name>.isNotEmpty())<\ >
176176
<elseif (isMessage.(field.type))>
177177
(<field.fieldName> != null)<\ >
178178
<elseif (isEnum.(field.type))>

0 commit comments

Comments
 (0)