Skip to content

Commit e413a02

Browse files
committed
Deprecate ClassLoaderUtil.ClassLoaderUtil()
1 parent 4274576 commit e413a02

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
@@ -109,6 +109,7 @@ The <action> type attribute can be add,update,fix,remove.
109109
<action dev="ggregory" type="fix" due-to="Gary Gregory">Use generics internally.</action>
110110
<action dev="ggregory" type="fix" due-to="Gary Gregory">NodeSet.getPointers() is now typed with generics.</action>
111111
<action dev="ggregory" type="fix" due-to="Gary Gregory">ServletContextHandler.collectPropertyNames(HashSet, Object) is now typed with generics.</action>
112+
<action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate ClassLoaderUtil.ClassLoaderUtil().</action>
112113
<!-- ADD -->
113114
<action issue="JXPATH-123" dev="mbenson" type="add">
114115
XPath function "ends-with" is not implemented (although "starts-with" is).

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,14 @@ private static String toCanonicalName(String className) {
151151
}
152152
return className;
153153
}
154+
155+
/**
156+
* Constructs a new instance.
157+
*
158+
* @deprecated Constructor will be private in the next major version.
159+
*/
160+
@Deprecated
161+
public ClassLoaderUtil() {
162+
// empty
163+
}
154164
}

0 commit comments

Comments
 (0)