Skip to content

Commit 754b914

Browse files
committed
Javadoc
1 parent 69d356b commit 754b914

18 files changed

+28
-28
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ public Variables getVariables() {
717717
}
718718

719719
/**
720-
* Learn whether this JXPathContext is lenient.
720+
* Tests whether this JXPathContext is lenient.
721721
*
722722
* @return boolean
723723
* @see #setLenient(boolean)

src/main/java/org/apache/commons/jxpath/ri/NamespaceResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public synchronized String getPrefix(final String namespaceURI) {
164164
}
165165

166166
/**
167-
* Learn whether this NamespaceResolver has been sealed.
167+
* Tests whether this NamespaceResolver has been sealed.
168168
*
169169
* @return boolean
170170
*/

src/main/java/org/apache/commons/jxpath/ri/axes/SimplePathInterpreter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ private static boolean isCollectionElement(final NodePointer pointer, final int
653653
}
654654

655655
/**
656-
* Learn whether {@code name} is a lang attribute.
656+
* Tests whether {@code name} is a lang attribute.
657657
*
658658
* @param qName to compare
659659
* @return boolean

src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationCompare.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public Object computeValue(final EvalContext context) {
6262
}
6363

6464
/**
65-
* Learn whether it contains value.
65+
* Tests whether it contains value.
6666
*
6767
* @param it Iterator to check
6868
* @param value for which to look
@@ -120,7 +120,7 @@ protected boolean equal(final EvalContext context, final Expression left, final
120120
}
121121

122122
/**
123-
* Learn whether l equals r in XPath terms.
123+
* Tests whether l equals r in XPath terms.
124124
*
125125
* @param l left operand
126126
* @param r right operand
@@ -158,7 +158,7 @@ protected boolean equal(Object l, Object r) {
158158
}
159159

160160
/**
161-
* Learn whether lit intersects rit.
161+
* Tests whether lit intersects rit.
162162
*
163163
* @param lit left Iterator
164164
* @param rit right Iterator

src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationRelationalExpression.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public final Object computeValue(final EvalContext context) {
8484
}
8585

8686
/**
87-
* Learn whether any element returned from an Iterator matches a given value.
87+
* Tests whether any element returned from an Iterator matches a given value.
8888
*
8989
* @param it Iterator
9090
* @param value to look for
@@ -101,7 +101,7 @@ private boolean containsMatch(final Iterator it, final Object value) {
101101
}
102102

103103
/**
104-
* Learn whether any element returned from an Iterator matches a given value.
104+
* Tests whether any element returned from an Iterator matches a given value.
105105
*
106106
* @param it Iterator
107107
* @param value to look for
@@ -126,7 +126,7 @@ private boolean containsMatch(final Object value, final Iterator it) {
126126
protected abstract boolean evaluateCompare(int compare);
127127

128128
/**
129-
* Learn whether there is an intersection between two Iterators.
129+
* Tests whether there is an intersection between two Iterators.
130130
*
131131
* @param lit left Iterator
132132
* @param rit right Iterator

src/main/java/org/apache/commons/jxpath/ri/compiler/LocationPath.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public Object computeValue(final EvalContext context) {
6868
}
6969

7070
/**
71-
* Learn whether this LocationPath is absolute.
71+
* Tests whether this LocationPath is absolute.
7272
*
7373
* @return boolean
7474
*/

src/main/java/org/apache/commons/jxpath/ri/compiler/NodeNameTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public QName getNodeName() {
6666
}
6767

6868
/**
69-
* Learn whether this is a wildcard test.
69+
* Tests whether this is a wildcard test.
7070
*
7171
* @return {@code true} if the node name is "*".
7272
*/

src/main/java/org/apache/commons/jxpath/ri/compiler/Path.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public Path(final Step[] steps) {
5454
}
5555

5656
/**
57-
* Learn whether the elements of the specified array are "basic" predicates.
57+
* Tests whether the elements of the specified array are "basic" predicates.
5858
*
5959
* @param predicates the Expression[] to check
6060
* @return boolean

src/main/java/org/apache/commons/jxpath/ri/compiler/Step.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public Expression[] getPredicates() {
110110
}
111111

112112
/**
113-
* Learn whether this step contains any predicate that is context dependent.
113+
* Tests whether this step contains any predicate that is context dependent.
114114
*
115115
* @return boolean
116116
*/

src/main/java/org/apache/commons/jxpath/ri/compiler/TreeCompiler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public Object greaterThanOrEqual(final Object left, final Object right) {
7676
}
7777

7878
/**
79-
* Learn whether arg is a name attribute test.
79+
* Tests whether arg is a name attribute test.
8080
*
8181
* @param arg Expression to test
8282
* @return boolean

0 commit comments

Comments
 (0)