-
Notifications
You must be signed in to change notification settings - Fork 13
Remove unused or replacable dependencies #3759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
@@ -260,7 +263,7 @@ private void preprocessJobs(Collection<PreprocessingJob> jobs, int buckets, Conq | |||
.mapToLong(PreprocessingJob::estimateTotalCsvSizeBytes) | |||
.sum(); | |||
|
|||
log.info("Required to preprocess {} in total", BinaryByteUnit.format(totalSize)); | |||
log.info("Required to preprocess {} in total", FileUtils.byteCountToDisplaySize(totalSize)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@awildturtok wäre für mich okay:
import com.jakewharton.byteunits.BinaryByteUnit
import io.dropwizard.util.DataSize
import org.apache.commons.io.FileUtils
def size = 12334556789L
println BinaryByteUnit.format(size)
println DataSize.bytes(size).toString()
println FileUtils.byteCountToDisplaySize(size)
// Prints
11,5 GiB
12334556789 bytes
11 GB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jap!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool!
@@ -260,7 +263,7 @@ private void preprocessJobs(Collection<PreprocessingJob> jobs, int buckets, Conq | |||
.mapToLong(PreprocessingJob::estimateTotalCsvSizeBytes) | |||
.sum(); | |||
|
|||
log.info("Required to preprocess {} in total", BinaryByteUnit.format(totalSize)); | |||
log.info("Required to preprocess {} in total", FileUtils.byteCountToDisplaySize(totalSize)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jap!
No description provided.