Skip to content

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

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

thoniTUB
Copy link
Collaborator

@thoniTUB thoniTUB commented Jul 1, 2025

No description provided.

@thoniTUB thoniTUB requested a review from awildturtok as a code owner July 1, 2025 13:19
@thoniTUB thoniTUB added backend java Pull requests that update Java code refactoring labels Jul 1, 2025
@@ -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));
Copy link
Collaborator Author

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

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jap!

Copy link
Collaborator

@awildturtok awildturtok left a 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));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jap!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend java Pull requests that update Java code refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants