Hi Henri - Hm, I'm sorry, I don't understand the TestCase thing... are you doing something like:
import junit.framework.*; public class FooTest extends TestCase { public void testFiddle() { Object obj = doSomething(); } } or something else? I'll email you the unused imports for taglibs offline.... Yours, Tom > -----Original Message----- > From: Henri Yandell [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 26, 2003 3:09 PM > To: Jakarta General List > Subject: Re: Another unused import statement report is out... > > > > Anyway of turning off the: > > "Avoid unused local variables such as 'obj'" > > for classes which extend TestCase? > > It's not something to avoid in a TestCase, as it tests the type of the > returned value. These warnings make it hard to see the real problems. > > Even if it's only a grep for TestCase.java and 'unused local > variable' to > filter these lines out :) > > Also, do you have a list of the unused imports for the test below? > I was going to do some cleaning up in Taglibs, but can't see the list. > > Thanks, > > Hen > > On Wed, 26 Feb 2003, Tom Copeland wrote: > > > ....unused imports are down 40% since last November, crikey! > > > > http://cvs.apache.org/~tcopeland/jakarta_bad_imports.htm > > > > Past reports can be found here - > http://cvs.apache.org/~tcopeland/, and > > mad props to the > xml-xalan project, who went from 1421 unused imports to > > 2 in the last month. > > > > Yours, > > > > Tom Copeland > > InfoEther > > 703-486-4543 > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]