Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#694 WhitespaceAround, allowEmptyMethods and annotations' default implementation

release_1.0
closed
nobody
None
1
2013-10-17
2013-01-18
Matteo Corti
No

Default method implementations in Java annotations are not recognized as methods and WhitespaceAround complains for {} (even if allowEmptyMethods is set to true).

For example:

public @interface CronExpression
{
Class< ? >[] groups() default {};
}

Discussion

  • Roman Ivanov
    Roman Ivanov
    2013-10-17

    • status: open --> closed