You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2012/02/10 23:09:54 UTC

svn commit: r1242957 - /lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/util/MapBackedSet.java

Author: uschindler
Date: Fri Feb 10 22:09:54 2012
New Revision: 1242957

URL: http://svn.apache.org/viewvc?rev=1242957&view=rev
Log:
LUCENE-3764: Add a note about MapBackedSet in 3.x and Java 5. It's not deprecated, because its used in Lucene Core (of course).

Modified:
    lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/util/MapBackedSet.java

Modified: lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/util/MapBackedSet.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/util/MapBackedSet.java?rev=1242957&r1=1242956&r2=1242957&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/util/MapBackedSet.java (original)
+++ lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/util/MapBackedSet.java Fri Feb 10 22:09:54 2012
@@ -26,7 +26,9 @@ import java.util.Map;
  * A Set implementation that wraps an actual Map based
  * implementation.
  * 
- * @lucene.internal
+ * @lucene.internal This class is only provided with Lucene, as Java 5 does
+ * not yet support {@code <E> Set<E> Collections.newSetFromMap(Map<E,Boolean>)}.
+ * It will be removed in Lucene 4.
  */
 public final class MapBackedSet<E> extends AbstractSet<E> implements Serializable {