diff --git a/CHANGELOG.md b/CHANGELOG.md index 64fbb3b8..b63fb23a 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/717) - [docs:update README.](https://github.com/Tencent/spring-cloud-tencent/pull/720) - [Code optimization & correct comment](https://github.com/Tencent/spring-cloud-tencent/pull/724) +- [fix:fix javadoc.](https://github.com/Tencent/spring-cloud-tencent/pull/727) 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 8827fa3e..9f8e9b76 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();