The issue with private constructor is specially handled in #603.

Best regards,
Valentin Kipiatkov
-----------------------------------------------------------
 IntelliJ Software, http://www.intellij.com/
 "Develop with pleasure"
-----------------------------------------------------------

----- Original Message -----
From: "Jordan Zimmerman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 13, 2002 3:38 AM
Subject: [Eap-list] Unused constructor problem


> I sometimes add a private constructor to utility classes that have nothing
> but static methods to prevent it from being created/extended. Ariadna
> reports the constructor as unused. I realize that I could accomplish this
by
> making it abstract final. But, it seems to me, that IDEA shouldn't
complain
> about valid code.
>
> As I mentioned in a previous message, it seems to me that IDEA is going to
> need a special comment or naming convention so that users can tell IDEA
not
> to treat a method/data as unused.
>
> class util_class
> {
> public static void util1()
> {
> // ...
> }
>
> public static void util2()
> {
> // ...
> }
>
> private util_class()
> {
> }
> }
>
> ===========================
> Jordan Zimmerman
> Altura International
> Catalog City
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


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

Reply via email to