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

Typos: empty lines in javadoc, inconsistent indents, etc. (core-libs only)

    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:
      b17

      Description

      Many typical typos across all sources.

      For example:
      diff --git a/src/java.base/share/classes/java/io/FileInputStream.java b/src/java.base/share/classes/java/io/FileInputStream.java
      --- a/src/java.base/share/classes/java/io/FileInputStream.java
      +++ b/src/java.base/share/classes/java/io/FileInputStream.java
      @@ -52,7 +52,6 @@
        * called when the FileInputStream is unreachable.
        * Otherwise, it is implementation specific how the resource cleanup described in
        * {@link #close} is performed.
      -
        *
        * @author Arthur van Hoff
        * @see java.io.File

      diff --git a/src/java.base/share/classes/java/io/ObjectInputStream.java b/src/java.base/share/classes/java/io/ObjectInputStream.java
      --- a/src/java.base/share/classes/java/io/ObjectInputStream.java
      +++ b/src/java.base/share/classes/java/io/ObjectInputStream.java
      @@ -517,7 +517,7 @@
       
           /**
            * This method is called by trusted subclasses of ObjectInputStream that
      - + constructed ObjectInputStream using the protected no-arg constructor.
      + * constructed ObjectInputStream using the protected no-arg constructor.
            * The subclass is expected to provide an override method with the modifier
            * "final".
            *

        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: