From 67854c940e0cab6ec0260b1a78d26586a232cafa Mon Sep 17 00:00:00 2001 From: Marko Date: Fri, 27 Sep 2024 01:15:03 +0200 Subject: [PATCH] style fix --- .../src/main/java/io/delta/kernel/types/StructField.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel/kernel-api/src/main/java/io/delta/kernel/types/StructField.java b/kernel/kernel-api/src/main/java/io/delta/kernel/types/StructField.java index 9ae5087855..7b94b987b4 100644 --- a/kernel/kernel-api/src/main/java/io/delta/kernel/types/StructField.java +++ b/kernel/kernel-api/src/main/java/io/delta/kernel/types/StructField.java @@ -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 */ @@ -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. */