< prev index next >

src/java.base/share/classes/java/net/MulticastSocket.java

Print this page
*** 119,15 ***
  
      /**
       * Create a MulticastSocket that delegates to the given delegate if not null.
       * @param delegate the delegate, can be null.
       */
!     MulticastSocket(MulticastSocket delegate)  {
          super(delegate);
      }
  
- 
      /**
       * Constructs a multicast socket and binds it to any available port
       * on the local host machine.  The socket will be bound to the
       * {@link InetAddress#isAnyLocalAddress wildcard} address.
       *
--- 119,14 ---
  
      /**
       * Create a MulticastSocket that delegates to the given delegate if not null.
       * @param delegate the delegate, can be null.
       */
!     MulticastSocket(MulticastSocket delegate) {
          super(delegate);
      }
  
      /**
       * Constructs a multicast socket and binds it to any available port
       * on the local host machine.  The socket will be bound to the
       * {@link InetAddress#isAnyLocalAddress wildcard} address.
       *
< prev index next >