diff --git a/CHANGELOG.md b/CHANGELOG.md index 9671d48dd..fe2e804bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,3 +10,4 @@ - [upgrade protobuf-java.version to 3.21.7](https://github.com/Tencent/spring-cloud-tencent/pull/716) - [docs:update README.](https://github.com/Tencent/spring-cloud-tencent/pull/719) - [Code optimization & correct comment](https://github.com/Tencent/spring-cloud-tencent/pull/723) +- [fix:fix javadoc.](https://github.com/Tencent/spring-cloud-tencent/pull/726) diff --git a/spring-cloud-starter-tencent-polaris-config/src/main/java/com/tencent/cloud/polaris/config/spring/property/PlaceholderHelper.java b/spring-cloud-starter-tencent-polaris-config/src/main/java/com/tencent/cloud/polaris/config/spring/property/PlaceholderHelper.java index 8827fa3ed..9f8e9b76e 100644 --- a/spring-cloud-starter-tencent-polaris-config/src/main/java/com/tencent/cloud/polaris/config/spring/property/PlaceholderHelper.java +++ b/spring-cloud-starter-tencent-polaris-config/src/main/java/com/tencent/cloud/polaris/config/spring/property/PlaceholderHelper.java @@ -52,7 +52,7 @@ public class PlaceholderHelper { * @param beanFactory beanFactory * @param beanName beanName * @param placeholder placeholder - * @return "${somePropertyValue}" -> "the actual property value" + * @return "${somePropertyValue}" -> "the actual property value" */ public Object resolvePropertyValue(ConfigurableBeanFactory beanFactory, String beanName, String placeholder) { // resolve string value @@ -77,16 +77,16 @@ public class PlaceholderHelper { } /** - * * @param propertyString propertyString - * @return - * Extract keys from placeholder, e.g. - *
  • ${some.key} => "some.key"
  • - *
  • ${some.key:${some.other.key:100}} => "some.key", "some.other.key"
  • - *
  • ${${some.key}} => "some.key"
  • - *
  • ${${some.key:other.key}} => "some.key"
  • - *
  • ${${some.key}:${another.key}} => "some.key", "another.key"
  • - *
  • #{new java.text.SimpleDateFormat('${some.key}').parse('${another.key}')} => "some.key", "another.key"
  • + * @return Extract keys from placeholder, e.g. + * */ public Set extractPlaceholderKeys(String propertyString) { Set placeholderKeys = Sets.newHashSet();