Fedor Karpelevitch wrote:
>>>
>>>>Private constructors that are not used should not be 
>>>>
>>marked as unused.
>>
>>>Why?
>>>
>>Because I don't want anyone instantiating my class.  It's a 
>>utility class
>>with nothing but static members.  You might want to have a 
>>special case for
>>this situation.
>>
> 
> simply make this class abstract.
> that constructor is not used - that is a fact.
> 
That is not satisfactory if you also want to make your class final.

-- 

Erb

==============================================================
"The only time I like in the morning is afternoon."
     - Russell D. Cooper

"If you do everything, then you're all done."
     - Melissa F. Cooper

"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
     - Larry Wall
==============================================================


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

Reply via email to