Remove unnecessary parentheses (#5576)

This commit is contained in:
Basil Crow authored and GitHub committed 2021-06-25 09:23:37 +01:00
1 parent a0ce3a837f
commit bd7c823c27
81 files changed
+120 -120

No files matched your search

+2 -2
View File
@@ -885,7 +885,7 @@ public class Util {
// Encode control chars and space
for (i = 0; i < 33; i++) uriMap[i] = true;
for (int j = 0; j < raw.length(); i++, j++)
uriMap[i] = (raw.charAt(j) == ' ');
uriMap[i] = raw.charAt(j) == ' ';
// If we add encodeQuery() just add a 2nd map to encode &+=
// queryMap[38] = queryMap[43] = queryMap[61] = true;
}
@@ -1449,7 +1449,7 @@ public class Util {
*/
@CheckForNull
public static Number tryParseNumber(@CheckForNull String numberStr, @CheckForNull Number defaultNumber) {
if ((numberStr == null) || (numberStr.length() == 0)) {
if (numberStr == null || numberStr.length() == 0) {
return defaultNumber;
}
try {