File tree Expand file tree Collapse file tree
trunk/gcloud-java-datastore/src/main/java/com/google/gcloud/spi Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- refs/heads/master: 8808c54c09a1d80060d8ea804164dc26ee4ce229
2+ refs/heads/master: a23d8f9773334a2698eb5770deaee3e6d140f751
33refs/heads/travis: 0fa997e2fc9c6b61b2d91e6d163655aae67d44b6
44refs/heads/gh-pages: 5a10432ecc75f29812e33a8236c900379509fe99
Original file line number Diff line number Diff line change 4242import org .json .JSONTokener ;
4343
4444import java .net .InetAddress ;
45- import java .net .MalformedURLException ;
4645import java .net .URL ;
47- import java .net .UnknownHostException ;
4846import java .util .HashMap ;
4947import java .util .Map ;
5048
@@ -95,7 +93,7 @@ private static boolean isLocalHost(String host) {
9593 }
9694 InetAddress hostAddr = InetAddress .getByName (new URL (normalizedHost ).getHost ());
9795 return hostAddr .isAnyLocalAddress () || hostAddr .isLoopbackAddress ();
98- } catch (UnknownHostException | MalformedURLException e ) {
96+ } catch (Exception e ) {
9997 // ignore
10098 }
10199 }
You can’t perform that action at this time.
0 commit comments