Skip to content

Commit 7d26a53

Browse files
committed
The constructor org.apache.commons.beanutils2.locale.LocaleConvertUtils
is now final (the class only contains static methods)
1 parent 0f36ab9 commit 7d26a53

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/changes/changes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<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>
3535
<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>
3636
<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>
37+
<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>
3738
<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>
3839
<!-- ADD -->
3940
<!-- UPDATE -->

src/main/java/org/apache/commons/beanutils2/locale/LocaleConvertUtils.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,4 +352,8 @@ public static void setApplyLocalized(final boolean newApplyLocalized) {
352352
public static void setDefaultLocale(final Locale locale) {
353353
LocaleConvertUtilsBean.getInstance().setDefaultLocale(locale);
354354
}
355+
356+
private LocaleConvertUtils() {
357+
// empty
358+
}
355359
}

0 commit comments

Comments
 (0)