Apache Solr open-source search software
fix typo in exc message
Michael McCandless180ea8393729
diff --git a/lucene/src/java/org/apache/lucene/store/NIOFSDirectory.java b/lucene/src/java/org/apache/lucene/store/NIOFSDirectory.javaindex 2a18262a2ab..b70c9ceebc2 100644--- a/lucene/src/java/org/apache/lucene/store/NIOFSDirectory.java+++ b/lucene/src/java/org/apache/lucene/store/NIOFSDirectory.java@@ -172,7 +172,7 @@ public class NIOFSDirectory extends FSDirectory {final OutOfMemoryError outOfMemoryError = new OutOfMemoryError("OutOfMemoryError likely caused by the Sun VM Bug described in "+ "https://issues.apache.org/jira/browse/LUCENE-1566; try calling FSDirectory.setReadChunkSize "- + "with a a value smaller than the current chunk size (" + chunkSize + ")");+ + "with a value smaller than the current chunk size (" + chunkSize + ")");outOfMemoryError.initCause(e);throw outOfMemoryError;}diff --git a/lucene/src/java/org/apache/lucene/store/SimpleFSDirectory.java b/lucene/src/java/org/apache/lucene/store/SimpleFSDirectory.javaindex 793d91a7160..164d0c17bed 100644--- a/lucene/src/java/org/apache/lucene/store/SimpleFSDirectory.java+++ b/lucene/src/java/org/apache/lucene/store/SimpleFSDirectory.java@@ -125,7 +125,7 @@ public class SimpleFSDirectory extends FSDirectory {final OutOfMemoryError outOfMemoryError = new OutOfMemoryError("OutOfMemoryError likely caused by the Sun VM Bug described in "+ "https://issues.apache.org/jira/browse/LUCENE-1566; try calling FSDirectory.setReadChunkSize "- + "with a value smaller than the current chunks size (" + chunkSize + ")");+ + "with a value smaller than the current chunk size (" + chunkSize + ")");outOfMemoryError.initCause(e);throw outOfMemoryError;}