I'm using Checkstyle 4.40 within Eclipse 3.3.
We still have the problem, where the Left Curly Braces check with nlow doesn't work.
Example:
/*
* @deprecated No longer used
/
@Deprecated
public String getMessage() {
return message;
}
Checkstyle complains about "Left Curly Brace Placement: '{' should be in a new line".
Since the rule is "next line on wrap (nlow)", this error is definitively wrong.
This is really annoying, since we have big projects.
Happens only when annotations are used.
Cheers
Oliver
Tim Carpenter
2009-04-15
This is fixed I believe:
http://checkstyle.svn.sourceforge.net/viewvc/checkstyle?view=rev&revision=2459
Oliver Burn
2009-04-15
fixed in release 5