From cede223806ee7c28e2236e1e11ac4e8f569a4577 Mon Sep 17 00:00:00 2001 From: Paul COLIN DE VERDIERE Date: Wed, 21 Feb 2024 18:55:14 +0100 Subject: [PATCH] [Java] Cope with optional sets not being present when pretty printing decoders for debugging. Issue #976 --- .../uk/co/real_logic/sbe/generation/java/JavaGenerator.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaGenerator.java b/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaGenerator.java index fe49069b5c..262079f870 100644 --- a/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaGenerator.java +++ b/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaGenerator.java @@ -4564,9 +4564,6 @@ private int writeTokenDisplay( break; case BEGIN_SET: - append(sb, indent, "this." + fieldName + "().appendTo(builder);"); - break; - case BEGIN_COMPOSITE: { final String typeName = formatClassName(decoderName(typeToken.applicableTypeName()));