Skip to content

Commit 8418707

Browse files
committed
Generate isEmpty convenience method for Sets
1 parent bad019e commit 8418707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2744,7 +2744,7 @@ private String generatePut(
27442744
private String generateNoChoicesSet(final PrimitiveType type)
27452745
{
27462746
return String.format(
2747-
"\n public boolean noChoicesSet()\n" +
2747+
"\n public boolean isEmpty()\n" +
27482748
" {\n" +
27492749
" return %1$s;\n" +
27502750
" }\n", generateChoiceUnsetInner(type));

0 commit comments

Comments
 (0)