提交 a80a89b2 authored 作者: igor-suhorukov's avatar igor-suhorukov

Move comment as per @katzyn code review

上级 a80c1338
...@@ -64,8 +64,9 @@ public class WebServlet extends HttpServlet { ...@@ -64,8 +64,9 @@ public class WebServlet extends HttpServlet {
InetAddress address = InetAddress.getByName(addr); InetAddress address = InetAddress.getByName(addr);
return address.isLoopbackAddress(); return address.isLoopbackAddress();
} catch (UnknownHostException | NoClassDefFoundError e) { } catch (UnknownHostException | NoClassDefFoundError e) {
// Google App Engine does not allow java.net.InetAddress
return false; return false;
} // Google App Engine does not allow java.net.InetAddress }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论