Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ilicmarkodb committed Sep 26, 2024
1 parent d359ed4 commit 67854c9
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ public StructField(String name, DataType dataType, boolean nullable, FieldMetada
this.nullable = nullable;

FieldMetadata collationMetadata = fetchCollationMetadata();
this.metadata = new FieldMetadata.Builder().fromMetadata(metadata).fromMetadata(collationMetadata).build();
this.metadata =
new FieldMetadata.Builder().fromMetadata(metadata).fromMetadata(collationMetadata).build();
}

/** @return the name of this field */
Expand Down Expand Up @@ -101,8 +102,8 @@ private FieldMetadata fetchCollationMetadata() {
}

return new FieldMetadata.Builder()
.putFieldMetadata(DataType.COLLATIONS_METADATA_KEY, metadataBuilder.build())
.build();
.putFieldMetadata(DataType.COLLATIONS_METADATA_KEY, metadataBuilder.build())
.build();
}

/** @return whether this field allows to have a {@code null} value. */
Expand Down

0 comments on commit 67854c9

Please sign in to comment.