We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17646fb commit 16af9abCopy full SHA for 16af9ab
1 file changed
src/main/java/eu/europa/ted/eforms/xpath/XPathStep.java
@@ -116,6 +116,19 @@ public boolean isTheSameAs(final XPathStep other) {
116
return pathPredicates.equals(contextPredicates);
117
}
118
119
+ /*
120
+ * @deprecated Use {@link #isSameAsOrNarrowerThan(XPathStep)} instead.
121
+ *
122
+ * This method was renamed for clarity. It is marked as deprecated so that the
123
+ * library interface does not change. It will be removed in the next major
124
+ * version of the library.
125
126
+ */
127
+ @Deprecated(since = "1.3.0", forRemoval = true)
128
+ public boolean isSimilarTo(final XPathStep other) {
129
+ return isSameAsOrNarrowerThan(other);
130
+ }
131
+
132
public boolean isSameAsOrNarrowerThan(final XPathStep other) {
133
134
// First check the step texts are different.
0 commit comments