Skip to content

Commit

Permalink
Use the official unit string for the 'b' when creating the ByteCount …
Browse files Browse the repository at this point in the history
…string. (#3993)

Signed-off-by: David Venable <dlv@amazon.com>
  • Loading branch information
dlvenable authored Jan 19, 2024
1 parent b8c4933 commit ea80d0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,6 @@ public boolean equals(final Object otherObject) {
*/
@Override
public String toString() {
return bytes + "b";
return bytes + Unit.BYTE.unitString;
}
}

0 comments on commit ea80d0f

Please sign in to comment.