lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r905057 [2/2] - in /lucene/java/trunk: ./ contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/smart/ contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/ contrib/ant/src/java/org/apache/lucene/ant/ contr...
Date Sun, 31 Jan 2010 15:20:28 GMT
Modified: lucene/java/trunk/src/java/org/apache/lucene/util/DummyConcurrentLock.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/DummyConcurrentLock.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/DummyConcurrentLock.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/DummyConcurrentLock.java Sun Jan 31
15:20:26 2010
@@ -24,6 +24,7 @@
 
 /**
  * A dummy lock as a replacement for {@link ReentrantLock} to disable locking
+ * @lucene.internal
  */
 public final class DummyConcurrentLock implements Lock {
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/English.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/English.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/English.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/English.java Sun Jan 31 15:20:26 2010
@@ -17,7 +17,9 @@
  * limitations under the License.
  */
 
-
+/**
+ * @lucene.internal
+ */ 
 public class English {
 
   public static String longToEnglish(long i) {

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/FieldCacheSanityChecker.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/FieldCacheSanityChecker.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/FieldCacheSanityChecker.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/FieldCacheSanityChecker.java Sun Jan
31 15:20:26 2010
@@ -44,11 +44,7 @@
  * Unit tests) to check at run time if the FieldCache contains "insane" 
  * usages of the FieldCache.
  * </p>
- * <p>
- * <b>EXPERIMENTAL API:</b> This API is considered extremely advanced and 
- * experimental.  It may be removed or altered w/o warning in future releases 
- * of Lucene.
- * </p>
+ * @lucene.experimental
  * @see FieldCache
  * @see FieldCacheSanityChecker.Insanity
  * @see FieldCacheSanityChecker.InsanityType

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/IndexableBinaryStringTools.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/IndexableBinaryStringTools.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/IndexableBinaryStringTools.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/IndexableBinaryStringTools.java Sun
Jan 31 15:20:26 2010
@@ -50,6 +50,8 @@
  * WARNING: This means that the deprecated Buffer-based methods 
  * only work correctly with buffers that have an offset of 0. For example, they
  * will not correctly interpret buffers returned by {@link ByteBuffer#slice}.  
+ *
+ * @lucene.experimental
  */
 public class IndexableBinaryStringTools {
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/MapOfSets.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/MapOfSets.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/MapOfSets.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/MapOfSets.java Sun Jan 31 15:20:26 2010
@@ -25,6 +25,7 @@
 
 /**
  * Helper class for keeping Lists of Objects associated with keys. <b>WARNING: THIS
CLASS IS NOT THREAD SAFE</b>
+ * @lucene.internal
  */
 public class MapOfSets<K, V> {
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/NumericUtils.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/NumericUtils.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/NumericUtils.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/NumericUtils.java Sun Jan 31 15:20:26
2010
@@ -55,8 +55,7 @@
  * {@link String#compareTo(String)}) representations of numeric data types for other
  * usages (e.g. sorting).
  *
- * <p><font color="red"><b>NOTE:</b> This API is experimental and
- * might change in incompatible ways in the next release.</font>
+ * @lucene.experimental
  *
  * @since 2.9
  */

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/Parameter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/Parameter.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/Parameter.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/Parameter.java Sun Jan 31 15:20:26 2010
@@ -26,6 +26,7 @@
 /**
  * A serializable Enum class.
  * @deprecated Use Java 5 enum, will be removed in a later Lucene 3.x release.
+ * @lucene.internal
  */
 @Deprecated
 @SuppressWarnings("serial")

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/PriorityQueue.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/PriorityQueue.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/PriorityQueue.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/PriorityQueue.java Sun Jan 31 15:20:26
2010
@@ -23,7 +23,8 @@
  *
  * <p><b>NOTE</b>: This class pre-allocates a full array of
  * length <code>maxSize+1</code>, in {@link #initialize}.
-  * 
+ * 
+ * @lucene.internal
 */
 public abstract class PriorityQueue<T> {
   private int size;

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/RamUsageEstimator.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/RamUsageEstimator.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/RamUsageEstimator.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/RamUsageEstimator.java Sun Jan 31 15:20:26
2010
@@ -33,6 +33,8 @@
  * If checkInterned, all Strings checked will be interned, but those
  * that were not already interned will be released for GC when the
  * estimate is complete.
+ * 
+ * @lucene.internal
  */
 public final class RamUsageEstimator {
   private MemoryModel memoryModel;

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/ReaderUtil.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/ReaderUtil.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/ReaderUtil.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/ReaderUtil.java Sun Jan 31 15:20:26
2010
@@ -25,6 +25,7 @@
 /**
  * Common util methods for dealing with {@link IndexReader}s.
  *
+ * @lucene.internal
  */
 public class ReaderUtil {
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/ScorerDocQueue.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/ScorerDocQueue.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/ScorerDocQueue.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/ScorerDocQueue.java Sun Jan 31 15:20:26
2010
@@ -27,6 +27,8 @@
 /** A ScorerDocQueue maintains a partial ordering of its Scorers such that the
   least Scorer can always be found in constant time.  Put()'s and pop()'s
   require log(size) time. The ordering is by Scorer.doc().
+ *
+ * @lucene.internal
  */
 public class ScorerDocQueue {  // later: SpansQueue for spans with doc and term positions
   private final HeapedScorerDoc[] heap;

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/SimpleStringInterner.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/SimpleStringInterner.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/SimpleStringInterner.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/SimpleStringInterner.java Sun Jan 31
15:20:26 2010
@@ -19,7 +19,10 @@
 
 /**
  * Simple lockless and memory barrier free String intern cache that is guaranteed
- * to return the same String instance as String.intern() does.
+ * to return the same String instance as String.intern()
+ * does.
+ *
+ * @lucene.internal
  */
 public class SimpleStringInterner extends StringInterner {
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/SmallFloat.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/SmallFloat.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/SmallFloat.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/SmallFloat.java Sun Jan 31 15:20:26
2010
@@ -17,6 +17,8 @@
 
 
 /** Floating point numbers smaller than 32 bits.
+ *
+ * @lucene.internal
  */
 public class SmallFloat {
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/StringHelper.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/StringHelper.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/StringHelper.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/StringHelper.java Sun Jan 31 15:20:26
2010
@@ -20,6 +20,8 @@
 
 /**
  * Methods for manipulating strings.
+ *
+ * @lucene.internal
  */
 public abstract class StringHelper {
   /**

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/UnicodeUtil.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/UnicodeUtil.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/UnicodeUtil.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/UnicodeUtil.java Sun Jan 31 15:20:26
2010
@@ -54,8 +54,7 @@
  * without always allocating a new byte[] as
  * String.getBytes("UTF-8") does.
  *
- * <p><b>WARNING</b>: This API is a new and experimental and
- * may suddenly change. </p>
+ * @lucene.internal
  */
 
 final public class UnicodeUtil {
@@ -72,6 +71,9 @@
   private static final long HALF_SHIFT = 10;
   private static final long HALF_MASK = 0x3FFL;
 
+  /**
+   * @lucene.internal
+   */
   public static final class UTF8Result {
     public byte[] result = new byte[10];
     public int length;
@@ -84,6 +86,9 @@
     }
   }
 
+  /**
+   * @lucene.internal
+   */
   public static final class UTF16Result {
     public char[] result = new char[10];
     public int[] offsets = new int[10];

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/VirtualMethod.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/VirtualMethod.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/VirtualMethod.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/VirtualMethod.java Sun Jan 31 15:20:26
2010
@@ -54,6 +54,8 @@
  * The one with the larger distance should be used preferable.
  * This way also more complicated method rename scenarios can be handled
  * (think of 2.9 {@code TokenStream} deprecations).</p>
+ *
+ * @lucene.internal
  */
 public final class VirtualMethod<C> {
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/cache/Cache.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/cache/Cache.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/cache/Cache.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/cache/Cache.java Sun Jan 31 15:20:26
2010
@@ -21,6 +21,8 @@
 
 /**
  * Base class for cache implementations.
+ *
+ * @lucene.internal
  */
 public abstract class Cache<K,V> implements Closeable {
   

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/cache/DoubleBarrelLRUCache.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/cache/DoubleBarrelLRUCache.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/cache/DoubleBarrelLRUCache.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/cache/DoubleBarrelLRUCache.java Sun
Jan 31 15:20:26 2010
@@ -38,11 +38,7 @@
  * not grow unbounded in size when under hideously high
  * load.</p>
  *
- * <p>NOTE: this class is meant only to be used internally
- * by Lucene; it's only public so it can be shared across
- * packages.  This means the API is freely subject to
- * change, and, the class could be removed entirely, in any
- * Lucene release.  Use directly at your own risk!
+ * @lucene.internal
  */
 
 final public class DoubleBarrelLRUCache<K,V> extends Cache<K,V> {

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/cache/SimpleLRUCache.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/cache/SimpleLRUCache.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/cache/SimpleLRUCache.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/cache/SimpleLRUCache.java Sun Jan 31
15:20:26 2010
@@ -27,6 +27,8 @@
  *
  * @deprecated Lucene's internal use of this class has now
  * switched to {@link DoubleBarrelLRUCache}.
+ *
+ * @lucene.internal
  */
 @Deprecated
 public class SimpleLRUCache<K,V> extends SimpleMapCache<K,V> {

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/cache/SimpleMapCache.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/cache/SimpleMapCache.java?rev=905057&r1=905056&r2=905057&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/cache/SimpleMapCache.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/cache/SimpleMapCache.java Sun Jan 31
15:20:26 2010
@@ -28,6 +28,8 @@
  *
  * @deprecated Lucene's internal use of this class has now
  * switched to {@link DoubleBarrelLRUCache}.
+ *
+ * @lucene.internal
  */
 @Deprecated
 public class SimpleMapCache<K,V> extends Cache<K,V> {



Mime
View raw message