Re: WhitespaceAround and exclusion of annotationswith array initialization
"Oliver Burn" <[email protected]>
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
Your welcome. I was thinking of pushing out a beta of Checkstyle 5.0 just to "get it out there". Does anyone object? On Tue, Mar 4, 2008 at 6:34 PM, Stefan Hedtfeld < [email protected]> wrote: > Hi, > > > > that are good news. I'll give it a try (I'm using maven, so there is a > small amount of extra work to be done). Is there a schedule when you expect > the new version to be released? > > > > Anyway, thanks for the reply, and thanks for the tool itself in the first > place. I've been using it for about 5 years now – and it's great! > > > > Regards, > > > > Stefan. > > > ------------------------------ > > *Von:* [email protected] [mai > lto:[email protected]] *Im Auftrag von *Oliver > Burn > *Gesendet:* Montag, 3. März 2008 21:07 > *An:* [email protected] > *Betreff:* Re: [Checkstyle-user] WhitespaceAround and exclusion of > annotationswith array initialization > > > > I would suggest trying out the version 5 of Checkstyle is in SVN. It has > not been released yet, but is stable enough for use. The release solves all > the issues with Java 5 whitespace. > > On Mon, Mar 3, 2008 at 7:40 PM, Stefan Hedtfeld < > [email protected]> wrote: > > Hi, > > > > I am using checkstyle 4.4 for my Java 5 code. I would like to use the > WhitespaceAround checker but the check fails for annotations like > > > > @OneToMany(cascade = {CascadeType.MERGE, CascadeType.PERSIST}) > > > > or > > > > @AllowedTypes({SyncType.ASYNCHRON, SyncType.SYNCHRON}) > > > > stating a missing whitespace before "}" and "{". > > > > I found the constant TokenTypes.ANNOTATION_ARRAY_INIT, but the > documentation does not state this to be part of the supported subset for > this checker. > > > > Is there a way to use this checker and avoid those errors? Am I missing > anything? > > > > Regards, > > > > Stefan. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Checkstyle-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/checkstyle-user > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Checkstyle-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/checkstyle-user > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user