lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1641861 - in /lucene/dev/branches/branch_5x/lucene/test-framework/src/java/org/apache/lucene/mockfile: FilterFileSystem.java FilterPath.java
Date Wed, 26 Nov 2014 17:19:20 GMT
Author: rmuir
Date: Wed Nov 26 17:19:19 2014
New Revision: 1641861

URL: http://svn.apache.org/r1641861
Log:
LUCENE-6072: fix delegation of remove method

Modified:
    lucene/dev/branches/branch_5x/lucene/test-framework/src/java/org/apache/lucene/mockfile/FilterFileSystem.java
    lucene/dev/branches/branch_5x/lucene/test-framework/src/java/org/apache/lucene/mockfile/FilterPath.java

Modified: lucene/dev/branches/branch_5x/lucene/test-framework/src/java/org/apache/lucene/mockfile/FilterFileSystem.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/lucene/test-framework/src/java/org/apache/lucene/mockfile/FilterFileSystem.java?rev=1641861&r1=1641860&r2=1641861&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/lucene/test-framework/src/java/org/apache/lucene/mockfile/FilterFileSystem.java
(original)
+++ lucene/dev/branches/branch_5x/lucene/test-framework/src/java/org/apache/lucene/mockfile/FilterFileSystem.java
Wed Nov 26 17:19:19 2014
@@ -111,6 +111,11 @@ public class FilterFileSystem extends Fi
           public Path next() {
             return new FilterPath(iterator.next(), FilterFileSystem.this);
           }
+
+          @Override
+          public void remove() {
+            iterator.remove();
+          }
         };
       }
     };
@@ -133,6 +138,11 @@ public class FilterFileSystem extends Fi
           public FileStore next() {
             return new FilterFileStore(iterator.next(), parent.getScheme());
           }
+
+          @Override
+          public void remove() {
+            iterator.remove();
+          }
         };
       }
     };

Modified: lucene/dev/branches/branch_5x/lucene/test-framework/src/java/org/apache/lucene/mockfile/FilterPath.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/lucene/test-framework/src/java/org/apache/lucene/mockfile/FilterPath.java?rev=1641861&r1=1641860&r2=1641861&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/lucene/test-framework/src/java/org/apache/lucene/mockfile/FilterPath.java
(original)
+++ lucene/dev/branches/branch_5x/lucene/test-framework/src/java/org/apache/lucene/mockfile/FilterPath.java
Wed Nov 26 17:19:19 2014
@@ -237,6 +237,11 @@ public class FilterPath implements Path 
       public Path next() {
         return new FilterPath(iterator.next(), fileSystem);
       }
+
+      @Override
+      public void remove() {
+        iterator.remove();
+      }
     };
   }
 



Mime
View raw message