Skip to content

Commit

Permalink
Replace SB with concatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
pzygielo committed Nov 18, 2024
1 parent d0998f8 commit 2b87692
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public int hashCode() {
public String toString() {

if (msgID == null || dirty) {
msgID = new StringBuilder(128).append(sequence).append('-').append(ip.toString()).append('-').append(port).append('-').append(timestamp).toString();
msgID = sequence + "-" + ip + "-" + port + "-" + timestamp;

dirty = false;
}
Expand Down

0 comments on commit 2b87692

Please sign in to comment.