Skip to content

Commit 587ec6d

Browse files
committed
Fix incorrect ConfigurationPropertyName javadoc
1 parent c7f31ed commit 587ec6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertyName.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ public ConfigurationPropertyName chop(int size) {
248248

249249
/**
250250
* Return a new {@link ConfigurationPropertyName} by based on this name offset by
251-
* specific element index. For example, {@code chop(1)} on the name {@code foo.bar}
251+
* specific element index. For example, {@code subName(1)} on the name {@code foo.bar}
252252
* will return {@code bar}.
253253
* @param offset the element offset
254254
* @return the sub name

0 commit comments

Comments
 (0)