Skip to content

Commit 35b0c10

Browse files
authored
Replace '<tt>' with '<code>' tags in JavaDocs (#2889)
1 parent 6954fb5 commit 35b0c10

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

vavr/src/main/java/io/vavr/collection/IndexedSeq.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ default boolean startsWith(Iterable<? extends T> that, int offset) {
452452
*
453453
* @param element the element to find
454454
* @return the index of the search element, if it is contained in the sequence;
455-
* otherwise, <tt>(-(<i>insertion point</i>) - 1)</tt>. The
455+
* otherwise, <code>(-(<i>insertion point</i>) - 1)</code>. The
456456
* <i>insertion point</i> is defined as the point at which the
457457
* element would be inserted into the sequence. Note that this guarantees that
458458
* the return value will be &gt;= 0 if and only if the element is found.
@@ -475,7 +475,7 @@ default int search(T element) {
475475
* @param element the element to find
476476
* @param comparator the comparator by which this sequence is ordered
477477
* @return the index of the search element, if it is contained in the sequence;
478-
* otherwise, <tt>(-(<i>insertion point</i>) - 1)</tt>. The
478+
* otherwise, <code>(-(<i>insertion point</i>) - 1)</code>. The
479479
* <i>insertion point</i> is defined as the point at which the
480480
* element would be inserted into the sequence. Note that this guarantees that
481481
* the return value will be &gt;= 0 if and only if the element is found.

vavr/src/main/java/io/vavr/collection/LinearSeq.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ default int segmentLength(Predicate<? super T> predicate, int from) {
391391
*
392392
* @param element the element to find
393393
* @return the index of the search element, if it is contained in the sequence;
394-
* otherwise, <tt>(-(<i>insertion point</i>) - 1)</tt>. The
394+
* otherwise, <code>(-(<i>insertion point</i>) - 1)</code>. The
395395
* <i>insertion point</i> is defined as the point at which the
396396
* element would be inserted into the sequence. Note that this guarantees that
397397
* the return value will be &gt;= 0 if and only if the element is found.
@@ -411,7 +411,7 @@ default int search(T element) {
411411
* @param element the element to find
412412
* @param comparator the comparator by which this sequence is ordered
413413
* @return the index of the search element, if it is contained in the sequence;
414-
* otherwise, <tt>(-(<i>insertion point</i>) - 1)</tt>. The
414+
* otherwise, <code>(-(<i>insertion point</i>) - 1)</code>. The
415415
* <i>insertion point</i> is defined as the point at which the
416416
* element would be inserted into the sequence. Note that this guarantees that
417417
* the return value will be &gt;= 0 if and only if the element is found.

vavr/src/main/java/io/vavr/collection/Seq.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ default boolean startsWith(Iterable<? extends T> that, int offset) {
10931093
*
10941094
* @param element the element to find
10951095
* @return the index of the search element, if it is contained in the sequence;
1096-
* otherwise, <tt>(-(<i>insertion point</i>) - 1)</tt>. The
1096+
* otherwise, <code>(-(<i>insertion point</i>) - 1)</code>. The
10971097
* <i>insertion point</i> is defined as the point at which the
10981098
* element would be inserted into the sequence. Note that this guarantees that
10991099
* the return value will be &gt;= 0 if and only if the element is found.
@@ -1110,7 +1110,7 @@ default boolean startsWith(Iterable<? extends T> that, int offset) {
11101110
* @param element the element to find
11111111
* @param comparator the comparator by which this sequence is ordered
11121112
* @return the index of the search element, if it is contained in the sequence;
1113-
* otherwise, <tt>(-(<i>insertion point</i>) - 1)</tt>. The
1113+
* otherwise, <code>(-(<i>insertion point</i>) - 1)</code>. The
11141114
* <i>insertion point</i> is defined as the point at which the
11151115
* element would be inserted into the sequence. Note that this guarantees that
11161116
* the return value will be &gt;= 0 if and only if the element is found.

0 commit comments

Comments
 (0)