You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2021/10/31 18:57:05 UTC

[iceberg] branch master updated: Spark 3.2: Remove extra parens to fix checkstyle (#3386)

This is an automated email from the ASF dual-hosted git repository.

blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new b56d3cc  Spark 3.2: Remove extra parens to fix checkstyle (#3386)
b56d3cc is described below

commit b56d3cc47c035462abc214780d3a3cb0a8ceeefd
Author: Kyle Bendickson <98...@users.noreply.github.com>
AuthorDate: Sun Oct 31 11:56:56 2021 -0700

    Spark 3.2: Remove extra parens to fix checkstyle (#3386)
---
 .../src/test/java/org/apache/iceberg/spark/source/TestIcebergSpark.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spark/v3.2/spark/src/test/java/org/apache/iceberg/spark/source/TestIcebergSpark.java b/spark/v3.2/spark/src/test/java/org/apache/iceberg/spark/source/TestIcebergSpark.java
index 5803390..c275dae 100644
--- a/spark/v3.2/spark/src/test/java/org/apache/iceberg/spark/source/TestIcebergSpark.java
+++ b/spark/v3.2/spark/src/test/java/org/apache/iceberg/spark/source/TestIcebergSpark.java
@@ -147,7 +147,7 @@ public class TestIcebergSpark {
         spark.sql("SELECT iceberg_bucket_binary_16(X'0020001F')").collectAsList();
     Assert.assertEquals(1, results.size());
     Assert.assertEquals((int) Transforms.bucket(Types.BinaryType.get(), 16)
-            .apply(ByteBuffer.wrap((new byte[]{0x00, 0x20, 0x00, 0x1F}))),
+            .apply(ByteBuffer.wrap(new byte[]{0x00, 0x20, 0x00, 0x1F})),
         results.get(0).getInt(0));
   }