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 2015/11/03 12:08:03 UTC

svn commit: r1712253 - /lucene/dev/trunk/lucene/sandbox/src/test/org/apache/lucene/util/BaseGeoPointTestCase.java

Author: mikemccand
Date: Tue Nov  3 11:08:03 2015
New Revision: 1712253

URL: http://svn.apache.org/viewvc?rev=1712253&view=rev
Log:
LUCENE-6847: no virus checker

Modified:
    lucene/dev/trunk/lucene/sandbox/src/test/org/apache/lucene/util/BaseGeoPointTestCase.java

Modified: lucene/dev/trunk/lucene/sandbox/src/test/org/apache/lucene/util/BaseGeoPointTestCase.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/sandbox/src/test/org/apache/lucene/util/BaseGeoPointTestCase.java?rev=1712253&r1=1712252&r2=1712253&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/sandbox/src/test/org/apache/lucene/util/BaseGeoPointTestCase.java (original)
+++ lucene/dev/trunk/lucene/sandbox/src/test/org/apache/lucene/util/BaseGeoPointTestCase.java Tue Nov  3 11:08:03 2015
@@ -201,6 +201,7 @@ public abstract class BaseGeoPointTestCa
     double[] lats = new double[2*numPoints];
     double[] lons = new double[2*numPoints];
     Directory dir = newDirectory();
+    noVirusChecker(dir);
     IndexWriterConfig iwc = newIndexWriterConfig();
     initIndexWriterConfig(FIELD_NAME, iwc);
 
@@ -209,7 +210,7 @@ public abstract class BaseGeoPointTestCa
     RandomIndexWriter w = new RandomIndexWriter(random(), dir, iwc);
 
     // TODO: GeoUtils are potentially slow if we use small=false with heavy testing
-     boolean small = random().nextBoolean();
+    boolean small = random().nextBoolean();
     //boolean small = true;
 
     for (int id=0;id<numPoints;id++) {