This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
commit a38901bf59a3d92a4b225dd07a34433206453bb1 Author: Gary Gregory <[email protected]> AuthorDate: Sun Aug 18 08:24:55 2024 -0400 Use final --- .../org/apache/commons/beanutils2/FluentPropertyBeanIntrospector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/beanutils2/FluentPropertyBeanIntrospector.java b/src/main/java/org/apache/commons/beanutils2/FluentPropertyBeanIntrospector.java index d176c6ef..a1fec561 100644 --- a/src/main/java/org/apache/commons/beanutils2/FluentPropertyBeanIntrospector.java +++ b/src/main/java/org/apache/commons/beanutils2/FluentPropertyBeanIntrospector.java @@ -155,7 +155,7 @@ public class FluentPropertyBeanIntrospector implements BeanIntrospector { // We should not change statically cached PropertyDescriptor as it can be from super-type, // it may affect other subclasses of targetClass supertype. // See BEANUTILS-541 for more details. - PropertyDescriptor fluentPropertyDescriptor = new PropertyDescriptor( + final PropertyDescriptor fluentPropertyDescriptor = new PropertyDescriptor( pd.getName(), pd.getReadMethod(), m); // replace existing (possibly inherited from super-class) to one specific to current class icontext.addPropertyDescriptor(fluentPropertyDescriptor);
