liubao68 commented on code in PR #3238: URL: https://github.com/apache/servicecomb-java-chassis/pull/3238#discussion_r933916932
########## foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/ConfigObjectFactory.java: ########## @@ -95,7 +100,8 @@ public List<ConfigObjectProperty> createProperties(Object instance, String prefi continue; } - Setter<Object, Object> setter = createObjectSetter(propertyDefinition); + Setter<Object, Object> setter = beanDescriptionCache.computeIfAbsent(propertyDefinition, + LambdaMetafactoryUtils::createObjectSetter); Review Comment: import static org.apache.servicecomb.foundation.common.utils.LambdaMetafactoryUtils.createObjectSetter can be removed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@servicecomb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org