Skip to content

Commit 35ff97b

Browse files
author
takashi hashida
committed
Format codes
Remove extra brace
1 parent f026d5a commit 35ff97b

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

csharp/src/Apache.Arrow/Arrays/ListArray.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public ListArray(IArrowType dataType, int length,
3030
ArrowBuffer valueOffsetsBuffer, IArrowArray values,
3131
ArrowBuffer nullBitmapBuffer, int nullCount = 0, int offset = 0)
3232
: this(new ArrayData(dataType, length, nullCount, offset,
33-
new[] {nullBitmapBuffer, valueOffsetsBuffer}, new[] {values.Data}),
33+
new[] { nullBitmapBuffer, valueOffsetsBuffer }, new[] { values.Data }),
3434
values)
3535
{
3636
}

csharp/src/Apache.Arrow/Ipc/ArrowReaderImplementation.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,5 @@ internal RecordBatchEnumerator(in Flatbuf.RecordBatch recordBatch)
270270
CurrentBufferIndex = 0;
271271
CurrentNodeIndex = 0;
272272
}
273-
}
274273
}
275274
}

csharp/src/Apache.Arrow/Types/ListType.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ public sealed class ListType : NestedType
2727
public IArrowType ValueDataType => Children[0].DataType;
2828

2929
public ListType(Field valueField)
30-
: base(valueField){ }
30+
: base(valueField) { }
3131

32-
public ListType(IArrowType valueDataType)
32+
public ListType(IArrowType valueDataType)
3333
: this(new Field("item", valueDataType, true)) { }
3434

3535
public override void Accept(IArrowTypeVisitor visitor) => Accept(this, visitor);

csharp/src/Apache.Arrow/Types/NestedType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected NestedType(Field child)
3737
{
3838
throw new ArgumentNullException(nameof(child));
3939
}
40-
Children = new List<Field>{ child };
40+
Children = new List<Field> { child };
4141
}
4242
}
4343
}

0 commit comments

Comments
 (0)