Browse Source

Fix incorrect `ConfigurationPropertyName` javadoc

pull/44942/head
Phillip Webb 10 months ago
parent
commit
587ec6d8d4
  1. 2
      spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertyName.java

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

@ -248,7 +248,7 @@ public final class ConfigurationPropertyName implements Comparable<Configuration @@ -248,7 +248,7 @@ public final class ConfigurationPropertyName implements Comparable<Configuration
/**
* Return a new {@link ConfigurationPropertyName} by based on this name offset by
* specific element index. For example, {@code chop(1)} on the name {@code foo.bar}
* specific element index. For example, {@code subName(1)} on the name {@code foo.bar}
* will return {@code bar}.
* @param offset the element offset
* @return the sub name

Loading…
Cancel
Save