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

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

XMLWordPrintable

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

      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".
            *

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

              Created:
              Updated:
              Resolved: