This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-jxpath.git
commit 53e3af1f307e487d51e9a90aed14329a16328baf Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sat Apr 12 09:30:18 2025 -0400 Remove unused package-private class org.apache.commons.jxpath.util.BasicTypeConverter.ValueNodeSet --- src/changes/changes.xml | 1 + .../commons/jxpath/util/BasicTypeConverter.java | 40 ---------------------- 2 files changed, 1 insertion(+), 40 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index dbe958a..25a6185 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -173,6 +173,7 @@ The <action> type attribute can be add,update,fix,remove. <action dev="ggregory" type="remove" due-to="Gary Gregory">Remove obsolete maven-surefire-plugin configuration. Configuration is done in the parent POM.</action> <action dev="ggregory" type="remove" due-to="Gary Gregory">Remove obsolete maven-assembly-plugin configuration. Configuration is done in the parent POM.</action> <action dev="ggregory" type="remove" due-to="Gary Gregory">Remove obsolete STATUS.html files.</action> + <action dev="ggregory" type="remove" due-to="Gary Gregory">Remove unused package-private class org.apache.commons.jxpath.util.BasicTypeConverter.ValueNodeSet.</action> </release> </body> </document> diff --git a/src/main/java/org/apache/commons/jxpath/util/BasicTypeConverter.java b/src/main/java/org/apache/commons/jxpath/util/BasicTypeConverter.java index ede4cd2..2d50c71 100644 --- a/src/main/java/org/apache/commons/jxpath/util/BasicTypeConverter.java +++ b/src/main/java/org/apache/commons/jxpath/util/BasicTypeConverter.java @@ -42,46 +42,6 @@ import org.apache.commons.jxpath.Pointer; */ public class BasicTypeConverter implements TypeConverter { - /** - * NodeSet implementation - */ - static final class ValueNodeSet implements NodeSet { - - private final List values; - private List<Pointer> pointers; - - /** - * Constructs a new ValueNodeSet. - * - * @param values to return - */ - public ValueNodeSet(final List values) { - this.values = values; - } - - @Override - public List getNodes() { - return Collections.unmodifiableList(values); - } - - @Override - public List<Pointer> getPointers() { - if (pointers == null) { - pointers = new ArrayList(); - for (final Object value : values) { - pointers.add(new ValuePointer(value)); - } - pointers = Collections.unmodifiableList(pointers); - } - return pointers; - } - - @Override - public List getValues() { - return Collections.unmodifiableList(values); - } - } - /** * Value pointer */