Merge branch '3.4.x'

Closes gh-44728
This commit is contained in:
Moritz Halbritter
2025-03-17 08:55:25 +01:00

View File

@@ -120,7 +120,7 @@ public abstract class TotalProgressListener<E extends ImageProgressUpdateEvent>
}
int getProgress() {
return withinPercentageBounds((this.progressByStatus.values().stream().mapToInt(Integer::valueOf).sum())
return withinPercentageBounds((this.progressByStatus.values().stream().mapToInt(Integer::intValue).sum())
/ this.progressByStatus.size());
}