src/share/classes/java/net/SocketPermission.java

Print this page

        

*** 999,1009 **** } } /** * Checks two SocketPermission objects for equality. ! * <P> * @param obj the object to test for equality with this object. * * @return true if <i>obj</i> is a SocketPermission, and has the * same hostname, port range, and actions as this * SocketPermission object. However, port range will be ignored --- 999,1009 ---- } } /** * Checks two SocketPermission objects for equality. ! * * @param obj the object to test for equality with this object. * * @return true if <i>obj</i> is a SocketPermission, and has the * same hostname, port range, and actions as this * SocketPermission object. However, port range will be ignored