From 3e33382932684739ab5a5e107eb211d01e4cad29 Mon Sep 17 00:00:00 2001 From: Bryan Keller Date: Mon, 12 Feb 2024 09:47:59 -0800 Subject: [PATCH] checkstyle --- .../connect/data/RecordConverterTest.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/kafka-connect/kafka-connect/src/test/java/org/apache/iceberg/connect/data/RecordConverterTest.java b/kafka-connect/kafka-connect/src/test/java/org/apache/iceberg/connect/data/RecordConverterTest.java index 180b02166958..fc27b542dc68 100644 --- a/kafka-connect/kafka-connect/src/test/java/org/apache/iceberg/connect/data/RecordConverterTest.java +++ b/kafka-connect/kafka-connect/src/test/java/org/apache/iceberg/connect/data/RecordConverterTest.java @@ -401,8 +401,8 @@ public void testIntConversion() { ImmutableList.of("123", 123.0f, 123.0d, 123L, expectedInt) .forEach( input -> { - int i = converter.convertInt(input); - assertThat(i).isEqualTo(expectedInt); + int val = converter.convertInt(input); + assertThat(val).isEqualTo(expectedInt); }); } @@ -418,8 +418,8 @@ public void testLongConversion() { ImmutableList.of("123", 123.0f, 123.0d, 123, expectedLong) .forEach( input -> { - long l = converter.convertLong(input); - assertThat(l).isEqualTo(expectedLong); + long val = converter.convertLong(input); + assertThat(val).isEqualTo(expectedLong); }); } @@ -435,8 +435,8 @@ public void testFloatConversion() { ImmutableList.of("123", 123, 123L, 123d, expectedFloat) .forEach( input -> { - float f = converter.convertFloat(input); - assertThat(f).isEqualTo(expectedFloat); + float val = converter.convertFloat(input); + assertThat(val).isEqualTo(expectedFloat); }); } @@ -452,8 +452,8 @@ public void testDoubleConversion() { ImmutableList.of("123", 123, 123L, 123f, expectedDouble) .forEach( input -> { - double d = converter.convertDouble(input); - assertThat(d).isEqualTo(expectedDouble); + double val = converter.convertDouble(input); + assertThat(val).isEqualTo(expectedDouble); }); }