Skip to content

Commit 4b079b9

Browse files
committed
Deprecate JXPathIntrospector.JXPathIntrospector()
1 parent fc16ae2 commit 4b079b9

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
@@ -122,6 +122,7 @@ The <action> type attribute can be add,update,fix,remove.
122122
<action dev="ggregory" type="fix" due-to="Gary Gregory">Bump JXPathContextFactoryConfigurationError serialVersionUID from 1L to 2L.</action>
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>
125+
<action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate JXPathIntrospector.JXPathIntrospector().</action>
125126
<!-- ADD -->
126127
<action issue="JXPATH-123" dev="mbenson" type="add">
127128
XPath function "ends-with" is not implemented (although "starts-with" is).

src/main/java/org/apache/commons/jxpath/JXPathIntrospector.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,4 +200,14 @@ public static void registerDynamicClass(final Class beanClass, final Class dynam
200200
}
201201
}
202202
}
203+
204+
/**
205+
* Constructs a new instance.
206+
*
207+
* @deprecated Will be private in the next major version.
208+
*/
209+
@Deprecated
210+
public JXPathIntrospector() {
211+
// empty
212+
}
203213
}

0 commit comments

Comments
 (0)