Skip to content

Commit 53e3af1

Browse files
committed
Remove unused package-private class
org.apache.commons.jxpath.util.BasicTypeConverter.ValueNodeSet
1 parent 9047c00 commit 53e3af1

File tree

2 files changed

+1
-40
lines changed

2 files changed

+1
-40
lines changed

src/changes/changes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ The <action> type attribute can be add,update,fix,remove.
173173
<action dev="ggregory" type="remove" due-to="Gary Gregory">Remove obsolete maven-surefire-plugin configuration. Configuration is done in the parent POM.</action>
174174
<action dev="ggregory" type="remove" due-to="Gary Gregory">Remove obsolete maven-assembly-plugin configuration. Configuration is done in the parent POM.</action>
175175
<action dev="ggregory" type="remove" due-to="Gary Gregory">Remove obsolete STATUS.html files.</action>
176+
<action dev="ggregory" type="remove" due-to="Gary Gregory">Remove unused package-private class org.apache.commons.jxpath.util.BasicTypeConverter.ValueNodeSet.</action>
176177
</release>
177178
</body>
178179
</document>

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

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -42,46 +42,6 @@
4242
*/
4343
public class BasicTypeConverter implements TypeConverter {
4444

45-
/**
46-
* NodeSet implementation
47-
*/
48-
static final class ValueNodeSet implements NodeSet {
49-
50-
private final List values;
51-
private List<Pointer> pointers;
52-
53-
/**
54-
* Constructs a new ValueNodeSet.
55-
*
56-
* @param values to return
57-
*/
58-
public ValueNodeSet(final List values) {
59-
this.values = values;
60-
}
61-
62-
@Override
63-
public List getNodes() {
64-
return Collections.unmodifiableList(values);
65-
}
66-
67-
@Override
68-
public List<Pointer> getPointers() {
69-
if (pointers == null) {
70-
pointers = new ArrayList();
71-
for (final Object value : values) {
72-
pointers.add(new ValuePointer(value));
73-
}
74-
pointers = Collections.unmodifiableList(pointers);
75-
}
76-
return pointers;
77-
}
78-
79-
@Override
80-
public List getValues() {
81-
return Collections.unmodifiableList(values);
82-
}
83-
}
84-
8545
/**
8646
* Value pointer
8747
*/

0 commit comments

Comments
 (0)