Useless parentheses

This commit is contained in:
Sebb 2020-09-12 23:32:56 +01:00
parent 7ab21126a0
commit 875d1054c0
1 changed files with 1 additions and 1 deletions

View File

@ -2252,7 +2252,7 @@ public class StringUtils {
if (m == 0) {
return 0D;
}
final double j = ((m / first.length() + m / second.length() + (m - mtp[1]) / m)) / 3;
final double j = (m / first.length() + m / second.length() + (m - mtp[1]) / m) / 3;
final double jw = j < 0.7D ? j : j + Math.min(DEFAULT_SCALING_FACTOR, 1D / mtp[3]) * mtp[2] * (1D - j);
return Math.round(jw * 100.0D) / 100.0D;
}