Skip to content

Commit 438df25

Browse files
izeyemhalbritter
authored andcommitted
Polish
See gh-47028 Signed-off-by: Johnny Lim <izeye@naver.com>
1 parent 055b099 commit 438df25

File tree

1 file changed

+3
-3
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/test

1 file changed

+3
-3
lines changed

spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/test/ItemMetadataAssert.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ public ItemMetadataAssert hasSourceType(Class<?> type) {
8383
return hasSourceType(type.getName());
8484
}
8585

86-
public ItemMetadataAssert hasSourceMethod(String type) {
87-
extracting(ItemMetadata::getSourceMethod).isEqualTo(type);
86+
public ItemMetadataAssert hasSourceMethod(String method) {
87+
extracting(ItemMetadata::getSourceMethod).isEqualTo(method);
8888
return this;
8989
}
9090

@@ -120,7 +120,7 @@ private ObjectAssert<ItemDeprecation> assertItemDeprecation() {
120120
}
121121

122122
private <T> ObjectAssert<T> extracting(Function<ItemMetadata, T> extractor) {
123-
return super.extracting(extractor, Assertions::assertThat);
123+
return extracting(extractor, Assertions::assertThat);
124124
}
125125

126126
@Override

0 commit comments

Comments
 (0)