Skip to content

Commit d390471

Browse files
committed
Merge pull request #47028 from izeye
* pr/47028: Polish Closes gh-47028
2 parents 055b099 + 438df25 commit d390471

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)