Some general-purpose lint cleanup

This commit is contained in:
TacoTheDank 2020-08-27 16:56:58 -04:00 committed by Stypox
parent 273c287fbf
commit f86b40302d
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
17 changed files with 24 additions and 31 deletions

View file

@ -115,7 +115,7 @@ public abstract class Postprocessing implements Serializable {
mission.done = 0;
long length = mission.storage.length() - mission.offsets[0];
mission.length = length > mission.nearLength ? length : mission.nearLength;
mission.length = Math.max(length, mission.nearLength);
final ProgressReport readProgress = (long position) -> {
position -= mission.offsets[0];