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