Skip to content

Commit e33386d

Browse files
committed
Deprecate InfoSetUtil.InfoSetUtil()
1 parent 4b079b9 commit e33386d

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
@@ -123,6 +123,7 @@ The <action> type attribute can be add,update,fix,remove.
123123
<action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate SimplePathInterpreter.SimplePathInterpreter().</action>
124124
<action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate JXPathServletContexts.JXPathServletContexts().</action>
125125
<action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate JXPathIntrospector.JXPathIntrospector().</action>
126+
<action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate InfoSetUtil.InfoSetUtil().</action>
126127
<!-- ADD -->
127128
<action issue="JXPATH-123" dev="mbenson" type="add">
128129
XPath function "ends-with" is not implemented (although "starts-with" is).

src/main/java/org/apache/commons/jxpath/ri/InfoSetUtil.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,4 +160,14 @@ public static String stringValue(final Object object) {
160160
}
161161
return String.valueOf(object);
162162
}
163+
164+
/**
165+
* Constructs a new instance.
166+
*
167+
* @deprecated Will be private in the next major version.
168+
*/
169+
@Deprecated
170+
public InfoSetUtil() {
171+
// empty
172+
}
163173
}

0 commit comments

Comments
 (0)