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