We implemented it so that the only private constructor with no parameters is not highlighted as unused.
 
Best regards,
Valentin Kipiatkov
-----------------------------------------------------------
 IntelliJ Software, http://www.intellij.com/
 "Develop with pleasure"
-----------------------------------------------------------
----- Original Message -----
Sent: Thursday, February 07, 2002 3:56 PM
Subject: RE: [Eap-list] Bugs with Ariadna's unused members/local variable feature.

I think only a private constructor that takes no arguments should be
made the special case (i.e. don't mark it as unused).  Lots of people
do this to make sure that you cannot create an instance of this class
from outside the class itself.  So, the fact that it is unused is true, but
it is intentional and shouldn't be marked as unused.
 
-- Rick
-----Original Message-----
From: Valentin Kipiatkov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 4:15 AM
To: [EMAIL PROTECTED]
Subject: Re: [Eap-list] Bugs with Ariadna's unused members/local variable feature.

> Private constructors that are not used should not be marked as unused.
 
Why?
 
 

Reply via email to