Skip to content

Commit

Permalink
Replace '<tt>' with '<code>' tags in JavaDocs (#2889)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit authored Oct 10, 2024
1 parent 6954fb5 commit 35b0c10
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions vavr/src/main/java/io/vavr/collection/IndexedSeq.java
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ default boolean startsWith(Iterable<? extends T> that, int offset) {
*
* @param element the element to find
* @return the index of the search element, if it is contained in the sequence;
* otherwise, <tt>(-(<i>insertion point</i>) - 1)</tt>. The
* otherwise, <code>(-(<i>insertion point</i>) - 1)</code>. The
* <i>insertion point</i> is defined as the point at which the
* element would be inserted into the sequence. Note that this guarantees that
* the return value will be &gt;= 0 if and only if the element is found.
Expand All @@ -475,7 +475,7 @@ default int search(T element) {
* @param element the element to find
* @param comparator the comparator by which this sequence is ordered
* @return the index of the search element, if it is contained in the sequence;
* otherwise, <tt>(-(<i>insertion point</i>) - 1)</tt>. The
* otherwise, <code>(-(<i>insertion point</i>) - 1)</code>. The
* <i>insertion point</i> is defined as the point at which the
* element would be inserted into the sequence. Note that this guarantees that
* the return value will be &gt;= 0 if and only if the element is found.
Expand Down
4 changes: 2 additions & 2 deletions vavr/src/main/java/io/vavr/collection/LinearSeq.java
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ default int segmentLength(Predicate<? super T> predicate, int from) {
*
* @param element the element to find
* @return the index of the search element, if it is contained in the sequence;
* otherwise, <tt>(-(<i>insertion point</i>) - 1)</tt>. The
* otherwise, <code>(-(<i>insertion point</i>) - 1)</code>. The
* <i>insertion point</i> is defined as the point at which the
* element would be inserted into the sequence. Note that this guarantees that
* the return value will be &gt;= 0 if and only if the element is found.
Expand All @@ -411,7 +411,7 @@ default int search(T element) {
* @param element the element to find
* @param comparator the comparator by which this sequence is ordered
* @return the index of the search element, if it is contained in the sequence;
* otherwise, <tt>(-(<i>insertion point</i>) - 1)</tt>. The
* otherwise, <code>(-(<i>insertion point</i>) - 1)</code>. The
* <i>insertion point</i> is defined as the point at which the
* element would be inserted into the sequence. Note that this guarantees that
* the return value will be &gt;= 0 if and only if the element is found.
Expand Down
4 changes: 2 additions & 2 deletions vavr/src/main/java/io/vavr/collection/Seq.java
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ default boolean startsWith(Iterable<? extends T> that, int offset) {
*
* @param element the element to find
* @return the index of the search element, if it is contained in the sequence;
* otherwise, <tt>(-(<i>insertion point</i>) - 1)</tt>. The
* otherwise, <code>(-(<i>insertion point</i>) - 1)</code>. The
* <i>insertion point</i> is defined as the point at which the
* element would be inserted into the sequence. Note that this guarantees that
* the return value will be &gt;= 0 if and only if the element is found.
Expand All @@ -1110,7 +1110,7 @@ default boolean startsWith(Iterable<? extends T> that, int offset) {
* @param element the element to find
* @param comparator the comparator by which this sequence is ordered
* @return the index of the search element, if it is contained in the sequence;
* otherwise, <tt>(-(<i>insertion point</i>) - 1)</tt>. The
* otherwise, <code>(-(<i>insertion point</i>) - 1)</code>. The
* <i>insertion point</i> is defined as the point at which the
* element would be inserted into the sequence. Note that this guarantees that
* the return value will be &gt;= 0 if and only if the element is found.
Expand Down

0 comments on commit 35b0c10

Please sign in to comment.