File tree Expand file tree Collapse file tree 5 files changed +21
-21
lines changed
sbe-tool/src/main/java/uk/co/real_logic/sbe Expand file tree Collapse file tree 5 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -2466,8 +2466,8 @@ private CharSequence generateFlyweightCode(
24662466 final String semanticType = token .encoding ().semanticType () == null ? "" : token .encoding ().semanticType ();
24672467 final String actingFields = codecType == CodecType .ENCODER ?
24682468 "" :
2469- " protected int actingBlockLength;\n " +
2470- " protected int actingVersion;\n " ;
2469+ " int actingBlockLength;\n " +
2470+ " int actingVersion;\n " ;
24712471
24722472 return String .format (
24732473 " public static final %1$s BLOCK_LENGTH = %2$s;\n " +
@@ -2477,9 +2477,9 @@ private CharSequence generateFlyweightCode(
24772477 " public static final java.nio.ByteOrder BYTE_ORDER = java.nio.ByteOrder.%14$s;\n \n " +
24782478 " private final %9$s parentMessage = this;\n " +
24792479 " private %11$s buffer;\n " +
2480- " protected int initialOffset;\n " +
2481- " protected int offset;\n " +
2482- " protected int limit;\n " +
2480+ " private int initialOffset;\n " +
2481+ " private int offset;\n " +
2482+ " private int limit;\n " +
24832483 "%13$s" +
24842484 "\n " +
24852485 " public %15$s sbeBlockLength()\n " +
Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ public class FrameCodecDecoder
1818
1919 private final FrameCodecDecoder parentMessage = this ;
2020 private DirectBuffer buffer ;
21- protected int initialOffset ;
22- protected int offset ;
23- protected int limit ;
24- protected int actingBlockLength ;
25- protected int actingVersion ;
21+ private int initialOffset ;
22+ private int offset ;
23+ private int limit ;
24+ int actingBlockLength ;
25+ int actingVersion ;
2626
2727 public int sbeBlockLength ()
2828 {
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ public class FrameCodecEncoder
1818
1919 private final FrameCodecEncoder parentMessage = this ;
2020 private MutableDirectBuffer buffer ;
21- protected int initialOffset ;
22- protected int offset ;
23- protected int limit ;
21+ private int initialOffset ;
22+ private int offset ;
23+ private int limit ;
2424
2525 public int sbeBlockLength ()
2626 {
Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ public class TokenCodecDecoder
1818
1919 private final TokenCodecDecoder parentMessage = this ;
2020 private DirectBuffer buffer ;
21- protected int initialOffset ;
22- protected int offset ;
23- protected int limit ;
24- protected int actingBlockLength ;
25- protected int actingVersion ;
21+ private int initialOffset ;
22+ private int offset ;
23+ private int limit ;
24+ int actingBlockLength ;
25+ int actingVersion ;
2626
2727 public int sbeBlockLength ()
2828 {
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ public class TokenCodecEncoder
1818
1919 private final TokenCodecEncoder parentMessage = this ;
2020 private MutableDirectBuffer buffer ;
21- protected int initialOffset ;
22- protected int offset ;
23- protected int limit ;
21+ private int initialOffset ;
22+ private int offset ;
23+ private int limit ;
2424
2525 public int sbeBlockLength ()
2626 {
You can’t perform that action at this time.
0 commit comments