lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-2733) Add private ctors to static utility classes
Date Sun, 31 Oct 2010 22:51:23 GMT
Add private ctors to static utility classes
-------------------------------------------

                 Key: LUCENE-2733
                 URL: https://issues.apache.org/jira/browse/LUCENE-2733
             Project: Lucene - Java
          Issue Type: Task
            Reporter: Uwe Schindler
             Fix For: 3.1, 4.0


During development in 3.x and trunk we added some new classes like IOUtils and CodecUtils
that are only providing static methods, but have no ctor at all. This adds the default empty
public ctor, which is wrong, the classes should never be instantiated.

We should add private dummy ctors to prevent creating instances.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message