It's simple: it increments your cvs commit counter, so you can get cvs committer of the month! And I think this is very reasonable :)
Technical reasons: Compilation is faster (by 0.001 ms) as the unused imports don't have to be resolved.
Apart from that, the real reasons are all those nice little tools looking at your code and complaining about wrong coding style, using deprecated methods, having unused imports/statements etc. So the real reason is to keep those tools happy.
Or has someone else a better explaination?
Only one small addition: to look good on the reports from those nasty little tools! :-)
http://cvs.apache.org/~tcopeland/jakarta_bad_imports.htm http://cvs.apache.org/~tcopeland/pmdweb/
Vadim
Carsten
-----Original Message----- From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 4:25 PM To: [EMAIL PROTECTED] Subject: Re: cvs commit: xml-cocoon2/src/blocks/slide/java/org/apache/cocoon/components/source/he lpers SourceProperty.java
Sorry guys, I'm really ignorant, but what is the technical reason why removing unused imports is a good idea?
Thanks :-)