Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

deprecate useless ctor (should be private)

Uwe Schindler2b6fb2ddab22
diff --git a/src/java/org/apache/lucene/util/ArrayUtil.java b/src/java/org/apache/lucene/util/ArrayUtil.java
index ba8e0536d61..eef023fbf46 100644
--- a/src/java/org/apache/lucene/util/ArrayUtil.java
+++ b/src/java/org/apache/lucene/util/ArrayUtil.java
@@ -23,6 +23,16 @@ package org.apache.lucene.util;
* @lucene.internal
*/
public final class ArrayUtil {
+
+ /**
+ * @deprecated This constructor was not intended to be public and should not be used.
+ * This class contains solely a static utility methods.
+ * It will be made private in Lucene 4.0
+ */
+ // make private in 4.0!
+ @Deprecated
+ public ArrayUtil() {} // no instance
+
/*
Begin Apache Harmony code