Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

WhitespaceAround with allowEmptyMethods complains on annotation's empty method #21

Closed
romani opened this Issue · 0 comments

1 participant

@romani
Owner

Created: 2013-01-18
Creator: Matteo Corti
SF: #sf694

Check: http://checkstyle.sourceforge.net/config_whitespace.html#WhitespaceAround
allowEmptyMethods=true

Code:

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

Check is satisfied with following code, but it is a bug

public @interface CronExpression 
{
Class< ? >[] groups() default { }; // extra space 
}
@romani romani closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.