Author: ggregory
Date: Sun Jul 20 06:35:19 2014
New Revision: 1612034
URL: http://svn.apache.org/r1612034
Log:
Use the more modern, compact, and flexible Javadoc "{@code ...}" instead of the
HTML "<tt>...</tt>".
Modified:
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReaderInputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/WriterOutputStream.java
Modified:
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReaderInputStream.java
URL:
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReaderInputStream.java?rev=1612034&r1=1612033&r2=1612034&view=diff
==============================================================================
---
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReaderInputStream.java
(original)
+++
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReaderInputStream.java
Sun Jul 20 06:35:19 2014
@@ -44,8 +44,8 @@ import java.nio.charset.CodingErrorActio
* in a {@link java.io.BufferedReader}.
* <p>
* {@link ReaderInputStream} implements the inverse transformation of {@link
java.io.InputStreamReader};
- * in the following example, reading from <tt>in2</tt> would return the same
byte
- * sequence as reading from <tt>in</tt> (provided that the initial byte
sequence is legal
+ * in the following example, reading from {@code in2} would return the same
byte
+ * sequence as reading from {@code in} (provided that the initial byte
sequence is legal
* with respect to the charset encoding):
* <pre>
* InputStream in = ...
Modified:
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java
URL:
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java?rev=1612034&r1=1612033&r2=1612034&view=diff
==============================================================================
---
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java
(original)
+++
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java
Sun Jul 20 06:35:19 2014
@@ -39,9 +39,9 @@ import org.apache.commons.io.input.Close
* The data can be retrieved using <code>toByteArray()</code> and
* <code>toString()</code>.
* <p>
- * Closing a <tt>ByteArrayOutputStream</tt> has no effect. The methods in
+ * Closing a {@code ByteArrayOutputStream} has no effect. The methods in
* this class can be called after the stream has been closed without
- * generating an <tt>IOException</tt>.
+ * generating an {@code IOException}.
* <p>
* This is an alternative implementation of the {@link
java.io.ByteArrayOutputStream}
* class. The original implementation only allocates 32 bytes at the beginning.
@@ -215,9 +215,9 @@ public class ByteArrayOutputStream exten
}
/**
- * Closing a <tt>ByteArrayOutputStream</tt> has no effect. The methods in
+ * Closing a {@code ByteArrayOutputStream} has no effect. The methods in
* this class can be called after the stream has been closed without
- * generating an <tt>IOException</tt>.
+ * generating an {@code IOException}.
*
* @throws IOException never (this method should not declare this exception
* but it has to now due to backwards compatibility)
Modified:
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/WriterOutputStream.java
URL:
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/WriterOutputStream.java?rev=1612034&r1=1612033&r2=1612034&view=diff
==============================================================================
---
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/WriterOutputStream.java
(original)
+++
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/WriterOutputStream.java
Sun Jul 20 06:35:19 2014
@@ -45,8 +45,8 @@ import java.nio.charset.CodingErrorActio
* of the {@link WriterOutputStream}.
* <p>
* {@link WriterOutputStream} implements the inverse transformation of {@link
java.io.OutputStreamWriter};
- * in the following example, writing to <tt>out2</tt> would have the same
result as writing to
- * <tt>out</tt> directly (provided that the byte sequence is legal with
respect to the
+ * in the following example, writing to {@code out2} would have the same
result as writing to
+ * {@code out} directly (provided that the byte sequence is legal with respect
to the
* charset encoding):
* <pre>
* OutputStream out = ...
@@ -110,9 +110,9 @@ public class WriterOutputStream extends
* @param writer the target {@link Writer}
* @param decoder the charset decoder
* @param bufferSize the size of the output buffer in number of characters
- * @param writeImmediately If <tt>true</tt> the output buffer will be
flushed after each
+ * @param writeImmediately If {@code true} the output buffer will be
flushed after each
* write operation, i.e. all available data will
be written to the
- * underlying {@link Writer} immediately. If
<tt>false</tt>, the
+ * underlying {@link Writer} immediately. If
{@code false}, the
* output buffer will only be flushed when it
overflows or when
* {@link #flush()} or {@link #close()} is called.
* @since 2.1
@@ -130,9 +130,9 @@ public class WriterOutputStream extends
* @param writer the target {@link Writer}
* @param charset the charset encoding
* @param bufferSize the size of the output buffer in number of characters
- * @param writeImmediately If <tt>true</tt> the output buffer will be
flushed after each
+ * @param writeImmediately If {@code true} the output buffer will be
flushed after each
* write operation, i.e. all available data will
be written to the
- * underlying {@link Writer} immediately. If
<tt>false</tt>, the
+ * underlying {@link Writer} immediately. If
{@code false}, the
* output buffer will only be flushed when it
overflows or when
* {@link #flush()} or {@link #close()} is called.
*/
@@ -164,9 +164,9 @@ public class WriterOutputStream extends
* @param writer the target {@link Writer}
* @param charsetName the name of the charset encoding
* @param bufferSize the size of the output buffer in number of characters
- * @param writeImmediately If <tt>true</tt> the output buffer will be
flushed after each
+ * @param writeImmediately If {@code true} the output buffer will be
flushed after each
* write operation, i.e. all available data will
be written to the
- * underlying {@link Writer} immediately. If
<tt>false</tt>, the
+ * underlying {@link Writer} immediately. If
{@code false}, the
* output buffer will only be flushed when it
overflows or when
* {@link #flush()} or {@link #close()} is called.
*/