Re: ImportOrder import static
Tony Murphy <[email protected]>
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
That's fine Lars, thanks for your help Tony ----- Original Message ---- From: Lars Kühne <[email protected]> To: [email protected] Sent: Saturday, 19 May, 2007 1:34:50 PM Subject: Re: [Checkstyle-user] ImportOrder import static The following sentence is currently missing in the official documentation, it's only available in the javadoc of the ImportOrder check implementation: Static imports must be at the end of a group and in lexicographic order amongst themselves. So sorry, it seems that you can't configure this, for now you'd have to change the code. I don't use static imports, so I'm not sure if this is the default behavior of standard IDEs. Please let us know If it's not. Cheers, Lars On 5/19/07, jamurph wrote: > > Hi, > > Checkstyle just complains about a style violation. I just have to turn off > the ImportOrderCheck on files containing import static > > If anyone knows of a way to fix the config file, it would be good > > Thanks ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user ___________________________________________________________ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user