Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanck committed Feb 25, 2024
1 parent 6fe6b29 commit 3e33382
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}

Expand All @@ -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);
});
}

Expand All @@ -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);
});
}

Expand All @@ -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);
});
}

Expand Down

0 comments on commit 3e33382

Please sign in to comment.