Skip to content

Commit cddc8a5

Browse files
committed
Deprecate ValueUtils.ValueUtils()
1 parent 393cd86 commit cddc8a5

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
@@ -113,6 +113,7 @@ The <action> type attribute can be add,update,fix,remove.
113113
<action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate MethodLookupUtils.MethodLookupUtils().</action>
114114
<action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate KeyManagerUtils.KeyManagerUtils().</action>
115115
<action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate TypeUtils.TypeUtils().</action>
116+
<action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate ValueUtils.ValueUtils().</action>
116117
<!-- ADD -->
117118
<action issue="JXPATH-123" dev="mbenson" type="add">
118119
XPath function "ends-with" is not implemented (although "starts-with" is).

src/main/java/org/apache/commons/jxpath/util/ValueUtils.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,4 +530,14 @@ public static void setValue(final Object bean, final PropertyDescriptor property
530530
ex);
531531
}
532532
}
533+
534+
/**
535+
* Constructs a new instance.
536+
*
537+
* @deprecated Will be private in the next major version.
538+
*/
539+
@Deprecated
540+
public ValueUtils() {
541+
// empty
542+
}
533543
}

0 commit comments

Comments
 (0)