Skip to content

Commit 94d415b

Browse files
committed
The constructor org.apache.commons.beanutils2.locale.LocaleBeanUtils is
now private (the class only contains static methods)
1 parent 7d26a53 commit 94d415b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/changes/changes.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@
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>
37+
<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>
3838
<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>
39+
<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>
3940
<!-- ADD -->
4041
<!-- UPDATE -->
4142
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump org.apache.commons:commons-parent from 78 to 81.</action>

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,4 +546,8 @@ public static void setProperty(final Object bean, final String name, final Objec
546546
throws IllegalAccessException, InvocationTargetException {
547547
LocaleBeanUtilsBean.getLocaleBeanUtilsInstance().setProperty(bean, name, value, pattern);
548548
}
549+
550+
private LocaleBeanUtils() {
551+
// empty
552+
}
549553
}

0 commit comments

Comments
 (0)