Skip to content

Commit

Permalink
Merge pull request #70 from tkowalcz/69-upgrade-agrona
Browse files Browse the repository at this point in the history
Re #69: Upgraded agrona to 1.12.0 to avoid allocatons when serializin…
  • Loading branch information
tkowalcz authored Aug 7, 2021
2 parents 2802294 + d5f7335 commit 8138ffb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dependency>
<groupId>org.agrona</groupId>
<artifactId>agrona</artifactId>
<version>1.7.1</version>
<version>1.12.0</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/pl/tkowalcz/tjahzi/LabelSerializer.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public LabelSerializer startAppendingLabelValue() {
}

public LabelSerializer appendPartialLabelValue(CharSequence value) {
cursor += buffer.putStringWithoutLengthAscii(cursor, value.toString());
cursor += buffer.putStringWithoutLengthAscii(cursor, value);

return this;
}
Expand Down

0 comments on commit 8138ffb

Please sign in to comment.