Skip to content

Commit 2d71582

Browse files
committed
fix spotless
1 parent d6ea33e commit 2d71582

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

c/src/test/java/org/apache/arrow/c/ExceptionTest.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void testException() throws IOException {
5151
final List<Object> batches = new ArrayList<>();
5252

5353
try (BufferAllocator allocator = new RootAllocator();
54-
VectorSchemaRoot root = VectorSchemaRoot.create(schema, allocator)) {
54+
VectorSchemaRoot root = VectorSchemaRoot.create(schema, allocator)) {
5555

5656
final String exceptionMessage = "This is a message for testing exception.";
5757

@@ -66,7 +66,7 @@ public void testException() throws IOException {
6666
ArrowReader source = new ExceptionMemoryArrowReader(allocator, schema, batches);
6767

6868
try (final ArrowArrayStream stream = ArrowArrayStream.allocateNew(allocator);
69-
final VectorSchemaRoot importRoot = VectorSchemaRoot.create(schema, allocator)) {
69+
final VectorSchemaRoot importRoot = VectorSchemaRoot.create(schema, allocator)) {
7070
final VectorLoader loader = new VectorLoader(importRoot);
7171
Data.exportArrayStream(allocator, source, stream);
7272

@@ -85,10 +85,7 @@ static class ExceptionMemoryArrowReader extends ArrowReader {
8585
private final DictionaryProvider provider;
8686
private int nextBatch;
8787

88-
ExceptionMemoryArrowReader(
89-
BufferAllocator allocator,
90-
Schema schema,
91-
List<Object> batches) {
88+
ExceptionMemoryArrowReader(BufferAllocator allocator, Schema schema, List<Object> batches) {
9289
super(allocator);
9390
this.schema = schema;
9491
this.batches = batches;

0 commit comments

Comments
 (0)