< prev index next >

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

Print this page

        

@@ -394,11 +394,11 @@
     /**
      * Called to set a socket option.
      *
      * @implSpec
      * The default implementation of this method first checks that the given
-     * socket option {@code name} is not null, then throws {@code
+     * socket option {code name} is not null, then throws {@code
      * UnsupportedOperationException}. Subclasses should override this method
      * with an appropriate implementation.
      *
      * @param <T> The type of the socket option value
      * @param name The socket option

@@ -422,11 +422,11 @@
     /**
      * Called to get a socket option.
      *
      * @implSpec
      * The default implementation of this method first checks that the given
-     * socket option {@code name} is not null, then throws {@code
+     * socket option {code name} is not null, then throws {@code
      * UnsupportedOperationException}. Subclasses should override this method
      * with an appropriate implementation.
      *
      * @param <T> The type of the socket option value
      * @param name The socket option
< prev index next >