Skip to content

Commit

Permalink
[Java] Set size for constant type to zero.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpt777 committed Jul 26, 2022
1 parent 34d7519 commit 4ac18d0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ private void add(final EncodedDataType type, final int offset)
break;

case CONSTANT:
tokenBuilder.size(0);
encodingBuilder
.presence(Encoding.Presence.CONSTANT)
.constValue(type.constVal());
Expand Down

0 comments on commit 4ac18d0

Please sign in to comment.