Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-9652: follow-up code reformatting (tidy).

Dawid Weiss96aaf543afb0
diff --git a/lucene/test-framework/src/java/org/apache/lucene/store/BaseDirectoryTestCase.java b/lucene/test-framework/src/java/org/apache/lucene/store/BaseDirectoryTestCase.java
index fe3654576b1..175042ff0ee 100644
--- a/lucene/test-framework/src/java/org/apache/lucene/store/BaseDirectoryTestCase.java
+++ b/lucene/test-framework/src/java/org/apache/lucene/store/BaseDirectoryTestCase.java
@@ -281,14 +281,14 @@ public abstract class BaseDirectoryTestCase extends LuceneTestCase {
final int offset = random().nextInt(4);
final int length = TestUtil.nextInt(random(), 1, 16);
try (IndexOutput out = dir.createOutput("Floats", newIOContext(random()))) {
- byte[] b = new byte[offset + length * Float.BYTES - TestUtil.nextInt(random(), 1, Float.BYTES)];
+ byte[] b =
+ new byte[offset + length * Float.BYTES - TestUtil.nextInt(random(), 1, Float.BYTES)];
random().nextBytes(b);
out.writeBytes(b, b.length);
}
try (IndexInput input = dir.openInput("Floats", newIOContext(random()))) {
input.seek(offset);
- expectThrows(EOFException.class,
- () -> input.readLEFloats(new float[length], 0, length));
+ expectThrows(EOFException.class, () -> input.readLEFloats(new float[length], 0, length));
}
}
}