am 3957b5fc: Fix the build.
* commit '3957b5fc49335f13b15080b8e7146580026c0479': Fix the build.
This commit is contained in:
@@ -267,7 +267,7 @@ public class NetworkUtils {
|
||||
String result = null;
|
||||
for (int i = 0; i < 4; i++) {
|
||||
try {
|
||||
if (octets[i].length > 3) return addr;
|
||||
if (octets[i].length() > 3) return addr;
|
||||
builder.append(Integer.parseInt(octets[i]));
|
||||
} catch (NumberFormatException e) {
|
||||
return addr;
|
||||
|
||||
Reference in New Issue
Block a user