Typo in "Annitations Basics" in Java Tutorials

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: docs
    • None

      Typo found here:

      http://docs.oracle.com/javase/tutorial/java/annotations/basics.html

       The annotation can include elements, which can be named or unnamed, and there are values for those elements:

      @Author(
         name = "Benjamin Franklin",
         date = "3/27/2003"
      )
      class MyClass() { ... }


      There should not be any parentheses after MyClass.

            Assignee:
            Bernard Horan (Inactive)
            Reporter:
            Raymond Gallardo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: