harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r527862 - in /harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net: DatagramSocket.java MulticastSocket.java
Date Thu, 12 Apr 2007 09:49:21 GMT
Author: pyang
Date: Thu Apr 12 02:49:20 2007
New Revision: 527862

URL: http://svn.apache.org/viewvc?view=rev&rev=527862
Log:
Apply patch for HARMONY-3572([Classlib] delete some never-used private/package methods)

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/DatagramSocket.java
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/MulticastSocket.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/DatagramSocket.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/DatagramSocket.java?view=diff&rev=527862&r1=527861&r2=527862
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/DatagramSocket.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/DatagramSocket.java
Thu Apr 12 02:49:20 2007
@@ -262,15 +262,6 @@
     }
 
     /**
-     * Answers whether this socket is multicast.
-     * 
-     * @return Always answers false.
-     */
-    boolean isMulticastSocket() {
-        return false;
-    }
-
-    /**
      * Answer the socket receive buffer size (SO_RCVBUF).
      * 
      * @return int socket receive buffer size

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/MulticastSocket.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/MulticastSocket.java?view=diff&rev=527862&r1=527861&r2=527862
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/MulticastSocket.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/MulticastSocket.java
Thu Apr 12 02:49:20 2007
@@ -183,11 +183,6 @@
         return impl.getTTL();
     }
 
-    @Override
-    boolean isMulticastSocket() {
-        return true;
-    }
-
     /**
      * Add this socket to the multicast group. A socket must joint a group
      * before data may be received. A socket may be a member of multiple groups



Mime
View raw message