Merge pull request #44718 from KmYgJn
* pr/44718: Fix Integer conversion in getProgress() method Closes gh-44718
This commit is contained in:
commit
135fb1a254
|
@ -120,7 +120,7 @@ public abstract class TotalProgressListener<E extends ImageProgressUpdateEvent>
|
||||||
}
|
}
|
||||||
|
|
||||||
int getProgress() {
|
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());
|
/ this.progressByStatus.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue