am e55e5b84: am 3dba4353: Fix the build.

* commit 'e55e5b84e53889791c0b6be8cad7cc134c9dfcba':
  Fix the build.
This commit is contained in:
Robert Greenwalt
2011-12-07 13:19:37 -08:00
committed by Android Git Automerger

View File

@@ -267,7 +267,7 @@ public class NetworkUtils {
String result = null; String result = null;
for (int i = 0; i < 4; i++) { for (int i = 0; i < 4; i++) {
try { try {
if (octets[i].length > 3) return addr; if (octets[i].length() > 3) return addr;
builder.append(Integer.parseInt(octets[i])); builder.append(Integer.parseInt(octets[i]));
} catch (NumberFormatException e) { } catch (NumberFormatException e) {
return addr; return addr;