You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2010/08/03 15:03:57 UTC

svn commit: r981857 - /lucene/dev/trunk/lucene/src/java/org/apache/lucene/store/FSDirectory.java

Author: mikemccand
Date: Tue Aug  3 13:03:57 2010
New Revision: 981857

URL: http://svn.apache.org/viewvc?rev=981857&view=rev
Log:
LUCENE-2574: disable this opto for now

Modified:
    lucene/dev/trunk/lucene/src/java/org/apache/lucene/store/FSDirectory.java

Modified: lucene/dev/trunk/lucene/src/java/org/apache/lucene/store/FSDirectory.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apache/lucene/store/FSDirectory.java?rev=981857&r1=981856&r2=981857&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/java/org/apache/lucene/store/FSDirectory.java (original)
+++ lucene/dev/trunk/lucene/src/java/org/apache/lucene/store/FSDirectory.java Tue Aug  3 13:03:57 2010
@@ -460,7 +460,7 @@ public abstract class FSDirectory extend
       // buffer size, and the given IndexInput supports FileChannel copying.
       // NOTE: the below check relies on NIOIndexInput extending Simple. If that
       // changes in the future, we should change the check as well.
-      if (numBytes <= BUFFER_SIZE || !(input instanceof SimpleFSIndexInput)) {
+      if (true || numBytes <= BUFFER_SIZE || !(input instanceof SimpleFSIndexInput)) {
         super.copyBytes(input, numBytes);
         return;
       }