lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r780320 - /lucene/java/trunk/src/java/org/apache/lucene/store/SimpleFSDirectory.java
Date Sat, 30 May 2009 20:47:12 GMT
Author: uschindler
Date: Sat May 30 20:47:11 2009
New Revision: 780320

URL: http://svn.apache.org/viewvc?rev=780320&view=rev
Log:
LUCENE-1658: Fix ClassCastException during cloneing SimpleFSIndexInput

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/store/SimpleFSDirectory.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/store/SimpleFSDirectory.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/store/SimpleFSDirectory.java?rev=780320&r1=780319&r2=780320&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/store/SimpleFSDirectory.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/store/SimpleFSDirectory.java Sat May 30 20:47:11
2009
@@ -132,7 +132,7 @@
     }
   
     public Object clone() {
-      FSIndexInput clone = (FSIndexInput)super.clone();
+      SimpleFSIndexInput clone = (SimpleFSIndexInput)super.clone();
       clone.isClone = true;
       return clone;
     }



Mime
View raw message