Skip to content

Commit

Permalink
Replaced </?tt> by </?code> in javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
elecharny committed Jul 20, 2022
1 parent 1c3bad3 commit f827f75
Show file tree
Hide file tree
Showing 101 changed files with 497 additions and 498 deletions.
8 changes: 4 additions & 4 deletions mina-core/src/main/java/org/apache/mina/core/IoUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public static void awaitUninterruptably(Iterable<? extends IoFuture> futures) {
* @param futures The {@link IoFuture}s we are waiting on
* @param timeout The maximum time we wait for the {@link IoFuture}s to complete
* @param unit The Time unit to use for the timeout
* @return <tt>TRUE</TT> if all the {@link IoFuture} have been completed, <tt>FALSE</tt> if
* @return <code>TRUE</TT> if all the {@link IoFuture} have been completed, <code>FALSE</code> if
* at least one {@link IoFuture} haas been interrupted
* @throws InterruptedException If one of the {@link IoFuture} is interrupted
*/
Expand All @@ -172,7 +172,7 @@ public static boolean await(Iterable<? extends IoFuture> futures, long timeout,
*
* @param futures The {@link IoFuture}s we are waiting on
* @param timeoutMillis The maximum milliseconds we wait for the {@link IoFuture}s to complete
* @return <tt>TRUE</TT> if all the {@link IoFuture} have been completed, <tt>FALSE</tt> if
* @return <code>TRUE</TT> if all the {@link IoFuture} have been completed, <code>FALSE</code> if
* at least one {@link IoFuture} has been interrupted
* @throws InterruptedException If one of the {@link IoFuture} is interrupted
*/
Expand All @@ -186,7 +186,7 @@ public static boolean await(Iterable<? extends IoFuture> futures, long timeoutMi
* @param futures The {@link IoFuture}s we are waiting on
* @param timeout The maximum time we wait for the {@link IoFuture}s to complete
* @param unit The Time unit to use for the timeout
* @return <tt>TRUE</TT> if all the {@link IoFuture} have been completed, <tt>FALSE</tt> if
* @return <code>TRUE</TT> if all the {@link IoFuture} have been completed, <code>FALSE</code> if
* at least one {@link IoFuture} has been interrupted
*/
public static boolean awaitUninterruptibly(Iterable<? extends IoFuture> futures, long timeout, TimeUnit unit) {
Expand All @@ -198,7 +198,7 @@ public static boolean awaitUninterruptibly(Iterable<? extends IoFuture> futures,
*
* @param futures The {@link IoFuture}s we are waiting on
* @param timeoutMillis The maximum milliseconds we wait for the {@link IoFuture}s to complete
* @return <tt>TRUE</TT> if all the {@link IoFuture} have been completed, <tt>FALSE</tt> if
* @return <code>TRUE</TT> if all the {@link IoFuture} have been completed, <code>FALSE</code> if
* at least one {@link IoFuture} has been interrupted
*/
public static boolean awaitUninterruptibly(Iterable<? extends IoFuture> futures, long timeoutMillis) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2722,7 +2722,7 @@ private <E extends Enum<E>> long toLong(Set<E> set) {

/**
* This method forwards the call to {@link #expand(int)} only when
* <tt>autoExpand</tt> property is <tt>true</tt>.
* <code>autoExpand</code> property is <code>true</code>.
*/
private IoBuffer autoExpand(int expectedRemaining) {
if (isAutoExpand()) {
Expand All @@ -2733,7 +2733,7 @@ private IoBuffer autoExpand(int expectedRemaining) {

/**
* This method forwards the call to {@link #expand(int)} only when
* <tt>autoExpand</tt> property is <tt>true</tt>.
* <code>autoExpand</code> property is <code>true</code>.
*/
private IoBuffer autoExpand(int pos, int expectedRemaining) {
if (isAutoExpand()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ public CachedBufferAllocator() {
* Creates a new instance.
*
* @param maxPoolSize the maximum number of buffers with the same capacity per thread.
* <tt>0</tt> disables this limitation.
* <code>0</code> disables this limitation.
* @param maxCachedBufferSize the maximum capacity of a cached buffer.
* A buffer whose capacity is bigger than this value is
* not pooled. <tt>0</tt> disables this limitation.
* not pooled. <code>0</code> disables this limitation.
*/
public CachedBufferAllocator(int maxPoolSize, int maxCachedBufferSize) {
if (maxPoolSize < 0) {
Expand Down Expand Up @@ -117,15 +117,15 @@ protected Map<Integer, Queue<CachedBuffer>> initialValue() {

/**
* @return the maximum number of buffers with the same capacity per thread.
* <tt>0</tt> means 'no limitation'.
* <code>0</code> means 'no limitation'.
*/
public int getMaxPoolSize() {
return maxPoolSize;
}

/**
* @return the maximum capacity of a cached buffer. A buffer whose
* capacity is bigger than this value is not pooled. <tt>0</tt> means
* capacity is bigger than this value is not pooled. <code>0</code> means
* 'no limitation'.
*/
public int getMaxCachedBufferSize() {
Expand Down
Loading

0 comments on commit f827f75

Please sign in to comment.