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 94d415b139ee5cc6d8dbc0d24b5665b288719b69 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Jan 31 16:22:15 2025 -0500 The constructor org.apache.commons.beanutils2.locale.LocaleBeanUtils is now private (the class only contains static methods) --- src/changes/changes.xml | 3 ++- .../java/org/apache/commons/beanutils2/locale/LocaleBeanUtils.java | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 4f5ef784..5413fc0a 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -34,8 +34,9 @@ <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 constructor 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 constructor org.apache.commons.beanutils2.locale.LocaleConvertUtils 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.LocaleBeanUtils 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.locale.LocaleBeanUtils is now private (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/locale/LocaleBeanUtils.java b/src/main/java/org/apache/commons/beanutils2/locale/LocaleBeanUtils.java index f0a33832..435eee10 100644 --- a/src/main/java/org/apache/commons/beanutils2/locale/LocaleBeanUtils.java +++ b/src/main/java/org/apache/commons/beanutils2/locale/LocaleBeanUtils.java @@ -546,4 +546,8 @@ public final class LocaleBeanUtils extends BeanUtils { throws IllegalAccessException, InvocationTargetException { LocaleBeanUtilsBean.getLocaleBeanUtilsInstance().setProperty(bean, name, value, pattern); } + + private LocaleBeanUtils() { + // empty + } }