Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Make ByteUnit in HumanReadableByteCount public
  • Loading branch information
Arseny Bogomolov committed Jul 23, 2021
commit c24b3d461f18f0f8ce3ecdc8274842044d5677b4
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public String toString() {
return Long.toString(size) + ' ' + units;
}

enum ByteUnit {
public enum ByteUnit {
BYTE(1, "bytes"),
KiB(1024L, "kibibytes"),
MiB((long) Math.pow(1024L, 2L), "mebibytes"),
Expand Down