lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r905064 - /lucene/java/trunk/src/java/org/apache/lucene/util/ArrayUtil.java
Date Sun, 31 Jan 2010 15:59:16 GMT
Author: uschindler
Date: Sun Jan 31 15:59:16 2010
New Revision: 905064

URL: http://svn.apache.org/viewvc?rev=905064&view=rev
Log:
deprecate useless ctor (should be private)

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/util/ArrayUtil.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/ArrayUtil.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/ArrayUtil.java?rev=905064&r1=905063&r2=905064&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/ArrayUtil.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/ArrayUtil.java Sun Jan 31 15:59:16 2010
@@ -23,6 +23,16 @@
  * @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
 



Mime
View raw message