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

Typo "lables" in doc comment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 14
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b10

      Description

      There's a typo in an API comment.

      $ hg diff -R open
      diff -r 072f27397b69 src/jdk.compiler/share/classes/com/sun/source/tree/CaseTree.java
      --- a/src/jdk.compiler/share/classes/com/sun/source/tree/CaseTree.java Fri Aug 09 12:27:05 2019 -0700
      +++ b/src/jdk.compiler/share/classes/com/sun/source/tree/CaseTree.java Fri Aug 09 15:00:41 2019 -0700
      @@ -49,7 +49,7 @@
           /**
            * Returns the expression for the case, or
            * {@code null} if this is the default case.
      - * If this case has multiple lables, returns the first label.
      + * If this case has multiple labels, returns the first label.
            * @return the expression for the case, or null
            */
           ExpressionTree getExpression();

        Attachments

          Activity

            People

            Assignee:
            jjg Jonathan Gibbons
            Reporter:
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: