commit | 6b7af6055f25022361beb2c169d2c1835922dc32 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Nov 04 16:46:00 2010 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Nov 04 16:46:00 2010 -0700 |
tree | 594d5a617259a7abeeb9d11dce9353c9a5d1390f | |
parent | f034f87da8f4c348c36334815214628fccbe5580 [diff] |
Use InetAddress.isNumeric. This code is trying to detect anything equivalent to localhost, but without accidentally causing a DNS lookup. Bug: 3073384 Change-Id: Ib611c8ca46059e00b07fc4b94d4af777217da1fb