tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Burch <>
Subject Re: Use (or not) of @SuppressWarnings
Date Thu, 08 Aug 2013 14:36:04 GMT
On 07/08/13 19:49, Konstantin Kolinko wrote:
> 2013/8/7 Brian Burch <>:
>> I use netbeans exclusively. I get warnings about import order from almost
>> every tc source file. Periodically I scratch around looking for the rules
>> template so I can change them to conform with the ant checkstyle rules,
>> which are happy with the current import order. So far, no luck, so I live
>> with netbeans nagging and resist the temptation to let it re-order the
>> imports for me.
> Imports order is not IDE-specific. It is enforced via checkstyle.

Yes, I said that with different words in my closing paragraph. I 
followed the order of Jeremy's response, but perhaps I could have been 
clearer if I had said that first. checkstyle defines the style that 
everyone's code must follow - regardless of what our IDEs might think.

> The order of import groups should be configurable in your IDE.

I agree with you!

> I have never used NetBeans, but there is a screenshot of configuration dialog:

That was extremely kind of you, Konstantin. Thank you for taking the 
time to try helping me. I had not previously found your screen shot - 
probably because I have google set to only give me English and French.

It was useful because my primitive German was good enough to translate 
the tab title and search for the plugin. Unfortunately, that quickly 
took me back over well-trodden ground. The Organize Imports plugin does 
not exist for netbeans 7.1.x. The quoted reason is it has been 
"incorporated into NetBeans".

My netbeans options for the internal editor does not even have the 
Organize Imports tab shown in your screen shot! I can find customisation 
for hints about imports that break the current rules, but I can't find 
the actual rules!

Please don't worry any more. I will live with the warnings until I 
eventually work out how to change the rules. Rest assured that as soon 
as I succeed, I will add the recipe to README.txt and the wiki.


> Best regards,
> Konstantin Kolinko
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message