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 0f36ab9d5627e2faa787c12cd25c7368c874ba6f Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Jan 31 16:20:52 2025 -0500 The constructor org.apache.commons.beanutils2.PropertyUtils is now private (the class only contains static methods) --- src/changes/changes.xml | 7 ++++--- src/main/java/org/apache/commons/beanutils2/PropertyUtils.java | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 50d6f61e..ecfd3fb6 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -31,9 +31,10 @@ <!-- FIX --> <action type="fix" dev="ggregory" due-to="Gary Gregory">Javadoc is missing its Overview page.</action> <action type="fix" dev="ggregory" due-to="Gary Gregory">Remove -nouses directive from maven-bundle-plugin. OSGi package imports now state 'uses' definitions for package imports, this doesn't affect JPMS (from org.apache.commons:commons-parent:80).</action> - <action type="fix" dev="ggregory" due-to="Gary Gregory">The class org.apache.commons.beanutils2.PropertyUtils is now final (it only contains static methods).</action> - <action type="fix" dev="ggregory" due-to="Gary Gregory">The class org.apache.commons.beanutils2.locale.LocaleConvertUtils is now final (it only contains static methods).</action> - <action type="fix" dev="ggregory" due-to="Gary Gregory">The class org.apache.commons.beanutils2.locale.LocaleBeanUtils is now final (it only contains static methods).</action> + <action type="fix" dev="ggregory" due-to="Gary Gregory">The class org.apache.commons.beanutils2.PropertyUtils is now final (the class only contains static methods).</action> + <action type="fix" dev="ggregory" due-to="Gary Gregory">The constructor org.apache.commons.beanutils2.PropertyUtils is now private (the class only contains static methods).</action> + <action type="fix" dev="ggregory" due-to="Gary Gregory">The class org.apache.commons.beanutils2.locale.LocaleConvertUtils is now final (the class only contains static methods).</action> + <action type="fix" dev="ggregory" due-to="Gary Gregory">The class org.apache.commons.beanutils2.locale.LocaleBeanUtils is now final (the class only contains static methods).</action> <!-- ADD --> <!-- UPDATE --> <action type="update" dev="ggregory" due-to="Gary Gregory">Bump org.apache.commons:commons-parent from 78 to 81.</action> diff --git a/src/main/java/org/apache/commons/beanutils2/PropertyUtils.java b/src/main/java/org/apache/commons/beanutils2/PropertyUtils.java index 84af2a33..a07378ea 100644 --- a/src/main/java/org/apache/commons/beanutils2/PropertyUtils.java +++ b/src/main/java/org/apache/commons/beanutils2/PropertyUtils.java @@ -653,4 +653,7 @@ public final class PropertyUtils { PropertyUtilsBean.getInstance().setSimpleProperty(bean, name, value); } + private PropertyUtils() { + // empty + } }