File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/rust Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -291,8 +291,8 @@ static void generateMessageHeaderDecoder(
291291 final OutputManager outputManager ,
292292 final int headerSize ) throws IOException
293293 {
294- String messageTypeName = "MessageHeader" ;
295- RustCodecType codecType = RustCodecType .Decoder ;
294+ final String messageTypeName = "MessageHeader" ;
295+ final RustCodecType codecType = RustCodecType .Decoder ;
296296 try (Writer writer = outputManager .createOutput (messageTypeName + format (" %s entry point" , codecType .name ())))
297297 {
298298 final String gerund = codecType .gerund ();
@@ -1821,7 +1821,7 @@ private void generateMessageHeaderDefault(
18211821 indent (writer , 1 , "pub message_header: MessageHeader\n " );
18221822 writer .append ("}\n " );
18231823
1824- final String blockLength = Integer .toString (messageToken .encodedLength ());
1824+ final String blockLength = Integer .toString (messageToken .encodedLength ());
18251825 final String templateId = Integer .toString (messageToken .id ());
18261826 final String schemaId = Integer .toString (ir .id ());
18271827 final String version = Integer .toString (ir .version ());
You can’t perform that action at this time.
0 commit comments