Skip to content

Commit 116851b

Browse files
committed
Deprecate MethodUtils.MethodUtils()
1 parent 7970521 commit 116851b

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/changes/changes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
<action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate LocaleBeanUtils.LocaleBeanUtils().</action>
3939
<action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate LocaleConvertUtils.LocaleConvertUtils().</action>
4040
<action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate ConvertUtils.ConvertUtils().</action>
41+
<action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate MethodUtils.MethodUtils().</action>
4142
<!-- ADD -->
4243
<!-- UPDATE -->
4344
<action dev="ggregory" type="update" due-to="Gary Gregory">Bump org.apache.commons:commons-parent from 78 to 81.</action>

src/main/java/org/apache/commons/beanutils/MethodUtils.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,4 +1333,14 @@ public static Class<?> toNonPrimitiveClass(final Class<?> clazz) {
13331333
}
13341334
return clazz;
13351335
}
1336+
1337+
/**
1338+
* Deprecated, all methods are static.
1339+
*
1340+
* @deprecated Will be private in 2.0.
1341+
*/
1342+
@Deprecated
1343+
public MethodUtils() {
1344+
// empty
1345+
}
13361346
}

0 commit comments

Comments
 (0)