Index: lucene/src/java/org/apache/lucene/search/Scorer.java
===================================================================
--- lucene/src/java/org/apache/lucene/search/Scorer.java (revision 1056995)
+++ lucene/src/java/org/apache/lucene/search/Scorer.java (working copy)
@@ -80,6 +80,12 @@
* Expert: Collects matching documents in a range. Hook for optimization.
* Note, firstDocID is added to ensure that {@link #nextDoc()}
* was called before this method.
+ *
+ *
NOTE: Because of backwards compatibility, this method is still + * declared as protected, but it is intended to be public, + * because it's called from other classes (like {@link BooleanScorer}). + * If you subclass {@code Scorer}, you should declare the overridden method + * as public to ease transition to Lucene 4.0, where it will be public.
* * @param collector * The collector to which all matching documents are passed.