But shouldn't it then be used within that class, like in a factory method?

Jason Boehle
[EMAIL PROTECTED]


-----Original Message-----
From: Vestal, Rick [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 07, 2002 6:57 AM
To: '[EMAIL PROTECTED]'
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?

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to