Arrays in annotations

David McCloskey <[email protected]> Tue, 21 Jun 2011 13:42:44 -0400
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
I'm getting a "'}' is not preceded with whitespace." error on lines like
this.
@SuppressWarnings({"unchecked", "rawtypes"})

I can fix it by changing it to @SuppressWarnings({ "unchecked", "rawtypes"
}), but NetBeans' auto-formatting likes it the first way, and so do I.  I
saw a post about this from 2008 saying to use Checkstyle 5, but I'm already
using that and I have this problem.  Is there some setting to make this OK?

-- 
Dave McCloskey
[email protected]

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev

_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user