Skip to content

Commit 0f36ab9

Browse files
committed
The constructor org.apache.commons.beanutils2.PropertyUtils is now
private (the class only contains static methods)
1 parent db9fa89 commit 0f36ab9

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/changes/changes.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@
3131
<!-- FIX -->
3232
<action type="fix" dev="ggregory" due-to="Gary Gregory">Javadoc is missing its Overview page.</action>
3333
<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>
34-
<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>
35-
<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>
36-
<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>
34+
<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>
35+
<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>
36+
<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 class org.apache.commons.beanutils2.locale.LocaleBeanUtils is now final (the class only contains static methods).</action>
3738
<!-- ADD -->
3839
<!-- UPDATE -->
3940
<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/PropertyUtils.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,4 +653,7 @@ public static void setSimpleProperty(final Object bean, final String name, final
653653
PropertyUtilsBean.getInstance().setSimpleProperty(bean, name, value);
654654
}
655655

656+
private PropertyUtils() {
657+
// empty
658+
}
656659
}

0 commit comments

Comments
 (0)