lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r894202 - in /lucene/java/trunk: contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/ contrib/instantiated/src/java/org/apache/lucene/store/instantiated/ contrib/misc/src/test/org/apache/lucene/queryParser/ext/ src/java/org/...
Date Mon, 28 Dec 2009 16:46:10 GMT
Author: rmuir
Date: Mon Dec 28 16:46:09 2009
New Revision: 894202

URL: http://svn.apache.org/viewvc?rev=894202&view=rev
Log:
add missing @override annotations

Modified:
    lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/TaskSequence.java
    lucene/java/trunk/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/InstantiatedAllTermDocs.java
    lucene/java/trunk/contrib/misc/src/test/org/apache/lucene/queryParser/ext/TestExtensions.java
    lucene/java/trunk/src/java/org/apache/lucene/index/AllTermDocs.java
    lucene/java/trunk/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java
    lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexWriter.java
    lucene/java/trunk/src/test/org/apache/lucene/util/cache/TestDoubleBarrelLRUCache.java

Modified: lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/TaskSequence.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/TaskSequence.java?rev=894202&r1=894201&r2=894202&view=diff
==============================================================================
--- lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/TaskSequence.java
(original)
+++ lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/TaskSequence.java
Mon Dec 28 16:46:09 2009
@@ -156,6 +156,7 @@
       return count;
     }
 
+    @Override
     public void run() {
       try {
         count = task.runAndMaybeStats(letChildReport);

Modified: lucene/java/trunk/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/InstantiatedAllTermDocs.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/InstantiatedAllTermDocs.java?rev=894202&r1=894201&r2=894202&view=diff
==============================================================================
--- lucene/java/trunk/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/InstantiatedAllTermDocs.java
(original)
+++ lucene/java/trunk/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/InstantiatedAllTermDocs.java
Mon Dec 28 16:46:09 2009
@@ -28,6 +28,7 @@
     this.reader = reader;
   }
 
+  @Override
   public boolean isDeleted(int doc) {
     return reader.isDeleted(doc);
   }

Modified: lucene/java/trunk/contrib/misc/src/test/org/apache/lucene/queryParser/ext/TestExtensions.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/misc/src/test/org/apache/lucene/queryParser/ext/TestExtensions.java?rev=894202&r1=894201&r2=894202&view=diff
==============================================================================
--- lucene/java/trunk/contrib/misc/src/test/org/apache/lucene/queryParser/ext/TestExtensions.java
(original)
+++ lucene/java/trunk/contrib/misc/src/test/org/apache/lucene/queryParser/ext/TestExtensions.java
Mon Dec 28 16:46:09 2009
@@ -26,6 +26,7 @@
 
   private Extensions ext;
 
+  @Override
   protected void setUp() throws Exception {
     super.setUp();
     this.ext = new Extensions();

Modified: lucene/java/trunk/src/java/org/apache/lucene/index/AllTermDocs.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/index/AllTermDocs.java?rev=894202&r1=894201&r2=894202&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/index/AllTermDocs.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/index/AllTermDocs.java Mon Dec 28 16:46:09
2009
@@ -30,6 +30,7 @@
     }
   }
 
+  @Override
   public boolean isDeleted(int doc) {
     return deletedDocs != null && deletedDocs.get(doc);
   }

Modified: lucene/java/trunk/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java?rev=894202&r1=894201&r2=894202&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java Mon
Dec 28 16:46:09 2009
@@ -96,6 +96,7 @@
     this.fields = fields;
   }
   
+  @Override
   protected Query getFieldQuery(String field, String queryText, int slop) throws ParseException
{
     if (field == null) {
       List<BooleanClause> clauses = new ArrayList<BooleanClause>();
@@ -132,11 +133,13 @@
   }
   
 
+  @Override
   protected Query getFieldQuery(String field, String queryText) throws ParseException {
     return getFieldQuery(field, queryText, 0);
   }
 
 
+  @Override
   protected Query getFuzzyQuery(String field, String termStr, float minSimilarity) throws
ParseException
   {
     if (field == null) {
@@ -150,6 +153,7 @@
     return super.getFuzzyQuery(field, termStr, minSimilarity);
   }
 
+  @Override
   protected Query getPrefixQuery(String field, String termStr) throws ParseException
   {
     if (field == null) {
@@ -163,6 +167,7 @@
     return super.getPrefixQuery(field, termStr);
   }
 
+  @Override
   protected Query getWildcardQuery(String field, String termStr) throws ParseException {
     if (field == null) {
       List<BooleanClause> clauses = new ArrayList<BooleanClause>();
@@ -176,6 +181,7 @@
   }
 
  
+  @Override
   protected Query getRangeQuery(String field, String part1, String part2, boolean inclusive)
throws ParseException {
     if (field == null) {
       List<BooleanClause> clauses = new ArrayList<BooleanClause>();

Modified: lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexWriter.java?rev=894202&r1=894201&r2=894202&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexWriter.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexWriter.java Mon Dec 28 16:46:09
2009
@@ -4633,6 +4633,7 @@
     for(int i=0;i<NUM_THREADS;i++) {
       final int finalI = i;
       threads[i] = new Thread() {
+          @Override
           public void run() {
             try {
               final Document doc = new Document();

Modified: lucene/java/trunk/src/test/org/apache/lucene/util/cache/TestDoubleBarrelLRUCache.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/util/cache/TestDoubleBarrelLRUCache.java?rev=894202&r1=894201&r2=894202&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/util/cache/TestDoubleBarrelLRUCache.java
(original)
+++ lucene/java/trunk/src/test/org/apache/lucene/util/cache/TestDoubleBarrelLRUCache.java
Mon Dec 28 16:46:09 2009
@@ -37,6 +37,7 @@
       this.endTime = endTime;
     }
 
+    @Override
     public void run() {
       try {
         long count = 0;



Mime
View raw message