Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

The first sentence of a deprecation should indicate what to use instead so that shows up in the summary - having "this will be removed in 3.0" show up in the summary is much less useful.

Mark Robert Miller26afe4749eea
diff --git a/src/java/org/apache/lucene/search/TimeLimitedCollector.java b/src/java/org/apache/lucene/search/TimeLimitedCollector.java
index 2b2b719ae30..dd7d711dea9 100755
--- a/src/java/org/apache/lucene/search/TimeLimitedCollector.java
+++ b/src/java/org/apache/lucene/search/TimeLimitedCollector.java
@@ -24,9 +24,8 @@ package org.apache.lucene.search;
* search thread is stopped by throwing a TimeExceeded Exception.
* </p>
*
- * @deprecated this class will be removed in 3.0. Use
- * {@link TimeLimitingCollector} instead, which extends the new
- * {@link Collector}.
+ * @deprecated Use {@link TimeLimitingCollector} instead, which extends the new
+ * {@link Collector}. This class will be removed in 3.0.
*/
public class TimeLimitedCollector extends HitCollector {