Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8241760

Typos: empty lines in javadoc, inconsistent indents, etc. (net and nio)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P5 P5
    • 15
    • None
    • core-libs
    • b18

      Follow up JDK-8241727.

      Many typical typos across all sources.

      For example:
      diff --git a/src/java.base/share/classes/java/net/NetPermission.java b/src/java.base/share/classes/java/net/NetPermission.java
      --- a/src/java.base/share/classes/java/net/NetPermission.java
      +++ b/src/java.base/share/classes/java/net/NetPermission.java
      @@ -164,7 +164,7 @@
        * creating a ProtectionDomain/CodeSource for a class even though
        * that class really didn't come from that location.</td>
        * </tr>
      - </tbody>
      + * </tbody>
        * </table>
        *
        * @implNote

      diff --git a/src/java.base/share/classes/java/net/Socket.java b/src/java.base/share/classes/java/net/Socket.java
      --- a/src/java.base/share/classes/java/net/Socket.java
      +++ b/src/java.base/share/classes/java/net/Socket.java
      @@ -821,7 +821,6 @@
            * then this method will continue to return the connected address
            * after the socket is closed.
            *
      -
            * @return a {@code SocketAddress} representing the remote endpoint of this
            * socket, or {@code null} if it is not connected yet.
            * @see #getInetAddress()

            igerasim Ivan Gerasimov
            igerasim Ivan Gerasimov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: