Skip to content

Commit f4d9e1c

Browse files
committed
Fix checkstyle violation
1 parent 69fbd8f commit f4d9e1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/PropertyMapperTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,12 @@ void alwaysApplyingWhenNonNullShouldAlwaysApplyNonNullToSource() {
197197
}
198198

199199
@Test
200-
public void whenWhenValueNotMatchesShouldSupportChainedCalls() {
200+
void whenWhenValueNotMatchesShouldSupportChainedCalls() {
201201
this.map.from("123").when("456"::equals).when("123"::equals).toCall(Assertions::fail);
202202
}
203203

204204
@Test
205-
public void whenWhenValueMatchesShouldSupportChainedCalls() {
205+
void whenWhenValueMatchesShouldSupportChainedCalls() {
206206
String result = this.map.from("123").when((s) -> s.contains("2")).when("123"::equals).toInstance(String::new);
207207
assertThat(result).isEqualTo("123");
208208
}

0 commit comments

Comments
 (0)