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

(spec) String.equals() @return contains typo

XMLWordPrintable

    • b79
    • generic
    • generic

      The javadoc for String.equals has this line:

           * @return <code>true</code> if the <code>String </code>are equal;

      It should say Strings rather than String, and the space should go after the
      </code> marker:

           * @return <code>true</code> if the <code>String</code>s are equal;

            iris Iris Clark
            ehawkessunw Eric Hawkes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: