Skip to content

Commit 143b4fc

Browse files
committed
Javadoc: Use semantic tag <em> instead of style tag <i>
1 parent 81f613a commit 143b4fc

File tree

8 files changed

+23
-23
lines changed

8 files changed

+23
-23
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* A delegate of {@link JXPathContext} that implements the XPath {@code "id()"}
2121
* function. This delegate is only used when there is no default implementation
22-
* of the {@code id()} function. For example, it is <i>not</i> used
22+
* of the {@code id()} function. For example, it is <em>not</em> used
2323
* when the root of the context is a DOM Node.
2424
*/
2525
public interface IdentityManager {

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
*
232232
* <h3>Example 8: Using Variables</h3>
233233
* JXPath supports the notion of variables. The XPath syntax for accessing
234-
* variables is <i>"$varName"</i>.
234+
* variables is <em>"$varName"</em>.
235235
*
236236
* <pre>
237237
* public class Author {
@@ -255,8 +255,8 @@
255255
* context.setValue("$index", new Integer(3));
256256
* </pre>
257257
*
258-
* Note: you can only <i>change</i> the value of an existing variable this
259-
* way, you cannot <i>define</i> a new variable.
258+
* Note: you can only <em>change</em> the value of an existing variable this
259+
* way, you cannot <em>define</em> a new variable.
260260
*
261261
* <p>
262262
* When a variable contains a JavaBean or a collection, you can
@@ -631,7 +631,7 @@ public synchronized DecimalFormatSymbols getDecimalFormatSymbols(final String na
631631
* If the context is in the lenient mode, then getValue() returns null
632632
* for inexistent paths. Otherwise, a path that does not map to
633633
* an existing property will throw an exception. Note that if the
634-
* property exists, but its value is null, the exception is <i>not</i>
634+
* property exists, but its value is null, the exception is <em>not</em>
635635
* thrown.
636636
* <p>
637637
* By default, lenient = false

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* NodeSet interface can be used as the type of an argument of an extension
2323
* function. Alternatively, the function can declare the argument as
2424
* a Collection (or List or Set), in which case it will be given a collection
25-
* of <i>values</i> matching the path.
25+
* of <em>values</em> matching the path.
2626
*/
2727
public interface NodeSet {
2828

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public interface Compiler {
127127
Object sum(Object[] arguments);
128128

129129
/**
130-
* Produces an EXPRESSION object representing <i>left</i> minus <i>right</i>
130+
* Produces an EXPRESSION object representing <em>left</em> minus <em>right</em>
131131
*
132132
* @param left is an EXPRESSION object
133133
* @param right is an EXPRESSION object
@@ -136,8 +136,8 @@ public interface Compiler {
136136
Object minus(Object left, Object right);
137137

138138
/**
139-
* Produces an EXPRESSION object representing <i>left</i> multiplied by
140-
* <i>right</i>
139+
* Produces an EXPRESSION object representing <em>left</em> multiplied by
140+
* <em>right</em>
141141
*
142142
* @param left is an EXPRESSION object
143143
* @param right is an EXPRESSION object
@@ -146,8 +146,8 @@ public interface Compiler {
146146
Object multiply(Object left, Object right);
147147

148148
/**
149-
* Produces an EXPRESSION object representing <i>left</i> divided by
150-
* <i>right</i>
149+
* Produces an EXPRESSION object representing <em>left</em> divided by
150+
* <em>right</em>
151151
*
152152
* @param left is an EXPRESSION object
153153
* @param right is an EXPRESSION object
@@ -156,8 +156,8 @@ public interface Compiler {
156156
Object divide(Object left, Object right);
157157

158158
/**
159-
* Produces an EXPRESSION object representing <i>left</i> modulo
160-
* <i>right</i>
159+
* Produces an EXPRESSION object representing <em>left</em> modulo
160+
* <em>right</em>
161161
*
162162
* @param left is an EXPRESSION object
163163
* @param right is an EXPRESSION object
@@ -167,7 +167,7 @@ public interface Compiler {
167167

168168
/**
169169
* Produces an EXPRESSION object representing the comparison:
170-
* <i>left</i> less than <i>right</i>
170+
* <em>left</em> less than <em>right</em>
171171
*
172172
* @param left is an EXPRESSION object
173173
* @param right is an EXPRESSION object
@@ -177,7 +177,7 @@ public interface Compiler {
177177

178178
/**
179179
* Produces an EXPRESSION object representing the comparison:
180-
* <i>left</i> less than or equal to <i>right</i>
180+
* <em>left</em> less than or equal to <em>right</em>
181181
*
182182
* @param left is an EXPRESSION object
183183
* @param right is an EXPRESSION object
@@ -187,7 +187,7 @@ public interface Compiler {
187187

188188
/**
189189
* Produces an EXPRESSION object representing the comparison:
190-
* <i>left</i> greater than <i>right</i>
190+
* <em>left</em> greater than <em>right</em>
191191
*
192192
* @param left is an EXPRESSION object
193193
* @param right is an EXPRESSION object
@@ -197,7 +197,7 @@ public interface Compiler {
197197

198198
/**
199199
* Produces an EXPRESSION object representing the comparison:
200-
* <i>left</i> greater than or equal to <i>right</i>
200+
* <em>left</em> greater than or equal to <em>right</em>
201201
*
202202
* @param left is an EXPRESSION object
203203
* @param right is an EXPRESSION object
@@ -207,7 +207,7 @@ public interface Compiler {
207207

208208
/**
209209
* Produces an EXPRESSION object representing the comparison:
210-
* <i>left</i> equals to <i>right</i>
210+
* <em>left</em> equals to <em>right</em>
211211
*
212212
* @param left is an EXPRESSION object
213213
* @param right is an EXPRESSION object
@@ -217,7 +217,7 @@ public interface Compiler {
217217

218218
/**
219219
* Produces an EXPRESSION object representing the comparison:
220-
* <i>left</i> is not equal to <i>right</i>
220+
* <em>left</em> is not equal to <em>right</em>
221221
*
222222
* @param left is an EXPRESSION object
223223
* @param right is an EXPRESSION object

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package org.apache.commons.jxpath.ri.compiler;
1818

1919
/**
20-
* Captures the {@code foo[@name=<i>expr</i>]} expression. These
20+
* Captures the {@code foo[@name=<em>expr</em>]} expression. These
2121
* expressions are handled in a special way when applied to beans
2222
* or maps.
2323
*/

src/main/java/org/apache/commons/jxpath/ri/model/NodePointer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ public Locale getLocale() {
540540
* Check whether our locale matches the specified language.
541541
* @param lang String language to check
542542
* @return true if the selected locale name starts
543-
* with the specified prefix <i>lang</i>, case-insensitive.
543+
* with the specified prefix <em>lang</em>, case-insensitive.
544544
*/
545545
public boolean isLanguage(final String lang) {
546546
final Locale loc = getLocale();

src/main/java/org/apache/commons/jxpath/ri/model/dom/DOMNodePointer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ public boolean isLeaf() {
334334

335335
/**
336336
* Returns true if the xml:lang attribute for the current node
337-
* or its parent has the specified prefix <i>lang</i>.
337+
* or its parent has the specified prefix <em>lang</em>.
338338
* If no node has this prefix, calls {@code super.isLanguage(lang)}.
339339
* @param lang ns to test
340340
* @return boolean

src/main/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNodePointer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ public static String getLocalName(final Object node) {
485485

486486
/**
487487
* Returns true if the xml:lang attribute for the current node
488-
* or its parent has the specified prefix <i>lang</i>.
488+
* or its parent has the specified prefix <em>lang</em>.
489489
* If no node has this prefix, calls {@code super.isLanguage(lang)}.
490490
* @param lang to compare
491491
* @return true if this element uses the specified language.

0 commit comments

Comments
 (0)