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 7d26a53a37b336a540dbfcd87c95e8277b214b2f
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Jan 31 16:21:28 2025 -0500

    The constructor org.apache.commons.beanutils2.locale.LocaleConvertUtils
    is now final (the class only contains static methods)
---
 src/changes/changes.xml                                               | 1 +
 .../java/org/apache/commons/beanutils2/locale/LocaleConvertUtils.java | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index ecfd3fb6..4f5ef784 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -34,6 +34,7 @@
       <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 class 
org.apache.commons.beanutils2.locale.LocaleBeanUtils is now final (the class 
only contains static methods).</action>
       <!-- ADD -->
       <!-- UPDATE -->
diff --git 
a/src/main/java/org/apache/commons/beanutils2/locale/LocaleConvertUtils.java 
b/src/main/java/org/apache/commons/beanutils2/locale/LocaleConvertUtils.java
index 55a40eb6..39b20348 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/LocaleConvertUtils.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/LocaleConvertUtils.java
@@ -352,4 +352,8 @@ public final class LocaleConvertUtils {
     public static void setDefaultLocale(final Locale locale) {
         LocaleConvertUtilsBean.getInstance().setDefaultLocale(locale);
     }
+    
+    private LocaleConvertUtils() {
+        // empty
+    }
 }

Reply via email to