Some general-purpose lint cleanup
This commit is contained in:
parent
273c287fbf
commit
f86b40302d
17 changed files with 24 additions and 31 deletions
|
|
@ -633,7 +633,7 @@ public class DownloadMission extends Mission {
|
|||
calculated = offsets[current < offsets.length ? current : (offsets.length - 1)] + length;
|
||||
calculated -= offsets[0];// don't count reserved space
|
||||
|
||||
return calculated > nearLength ? calculated : nearLength;
|
||||
return Math.max(calculated, nearLength);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue