Skip to content

Apache Lucene open-source search software

Correct typo.

Dawid Weiss90eaf147c831
diff --git a/lucene/misc/src/test/org/apache/lucene/misc/store/TestDirectIODirectory.java b/lucene/misc/src/test/org/apache/lucene/misc/store/TestDirectIODirectory.java
index c603502ec15..9d1ac2fdac3 100644
--- a/lucene/misc/src/test/org/apache/lucene/misc/store/TestDirectIODirectory.java
+++ b/lucene/misc/src/test/org/apache/lucene/misc/store/TestDirectIODirectory.java
@@ -104,7 +104,7 @@ public class TestDirectIODirectory extends BaseDirectoryTestCase {
}
public void testReadPastEOFShouldThrowEOFExceptionWithEmptyFile() throws Exception {
- // fileSize needs to be 0 to test this condition. Do not randomized.
+ // fileSize needs to be 0 to test this condition. Do not randomize.
final int fileSize = 0;
try (Directory dir = getDirectory(createTempDir("testReadPastEOF"))) {
try (IndexOutput o = dir.createOutput("out", newIOContext(random()))) {