Skip to content

Commit

Permalink
Merge pull request #183 from aloubyansky/GAL-203
Browse files Browse the repository at this point in the history
[GAL-203] Shorten progress tracking messages by excluding duplicate info
  • Loading branch information
aloubyansky authored Oct 29, 2018
2 parents 1ad4dd3 + 58d6df4 commit f728242
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public JBossModulesTracker() {

@Override
public String processingContent(ProgressTracker<PackageRuntime> tracker) {
return String.format("%s of %s JBoss modules installed (%s%%)",
return String.format("%s of %s (%s%%)",
tracker.getProcessedVolume(), tracker.getTotalVolume(), ((double) Math.round(tracker.getProgress() * 10)) / 10);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public PackagesTracker() {

@Override
public String processingContent(ProgressTracker<PackageRuntime> tracker) {
return String.format("%s of %s packages installed (%s%%)",
return String.format("%s of %s (%s%%)",
tracker.getProcessedVolume(), tracker.getTotalVolume(), ((double) Math.round(tracker.getProgress() * 10)) / 10);
}

Expand Down

0 comments on commit f728242

Please sign in to comment.