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

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

    Details

    • Type: Task
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 15
    • Component/s: core-libs
    • Labels:
    • Resolved In Build:
      b18

      Description

      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()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                igerasim Ivan Gerasimov (Inactive)
                Reporter:
                igerasim Ivan Gerasimov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: