lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpou...@apache.org
Subject svn commit: r1456797 - in /lucene/dev/branches/branch_4x: ./ lucene/ lucene/misc/ lucene/misc/src/java/org/apache/lucene/index/sorter/Sorter.java
Date Fri, 15 Mar 2013 07:39:42 GMT
Author: jpountz
Date: Fri Mar 15 07:39:42 2013
New Revision: 1456797

URL: http://svn.apache.org/r1456797
Log:
LUCENE-4830: Add missing @Override (merged from r1456796).

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/lucene/   (props changed)
    lucene/dev/branches/branch_4x/lucene/misc/   (props changed)
    lucene/dev/branches/branch_4x/lucene/misc/src/java/org/apache/lucene/index/sorter/Sorter.java

Modified: lucene/dev/branches/branch_4x/lucene/misc/src/java/org/apache/lucene/index/sorter/Sorter.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/misc/src/java/org/apache/lucene/index/sorter/Sorter.java?rev=1456797&r1=1456796&r2=1456797&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/misc/src/java/org/apache/lucene/index/sorter/Sorter.java
(original)
+++ lucene/dev/branches/branch_4x/lucene/misc/src/java/org/apache/lucene/index/sorter/Sorter.java
Fri Mar 15 07:39:42 2013
@@ -79,9 +79,11 @@ public abstract class Sorter {
     public DocMap sort(final AtomicReader reader) throws IOException {
       final int maxDoc = reader.maxDoc();
       return new DocMap() {
+        @Override
         public int oldToNew(int docID) {
           return maxDoc - docID - 1;
         }
+        @Override
         public int newToOld(int docID) {
           return maxDoc - docID - 1;
         }



Mime
View raw message