You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2012/03/30 17:12:30 UTC

svn commit: r1307461 - in /commons/proper/io/trunk/src/main/java/org/apache/commons/io: ./ comparator/ filefilter/ input/ monitor/ output/

Author: ggregory
Date: Fri Mar 30 15:12:29 2012
New Revision: 1307461

URL: http://svn.apache.org/viewvc?rev=1307461&view=rev
Log:
Replace "<code>true</code>" with "{@code true}"

Modified:
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileCleaningTracker.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileDeleteStrategy.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/FilenameUtils.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/LineIterator.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/TaggedIOException.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanReadFileFilter.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/EmptyFileFilter.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/HiddenFileFilter.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/MagicNumberFileFilter.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/BoundedInputStream.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceReader.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/NullInputStream.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/NullReader.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TaggedInputStream.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TeeInputStream.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileEntry.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/DeferredFileOutputStream.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/TaggedOutputStream.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileCleaningTracker.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileCleaningTracker.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileCleaningTracker.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileCleaningTracker.java Fri Mar 30 15:12:29 2012
@@ -271,7 +271,7 @@ public class FileCleaningTracker {
         /**
          * Deletes the file associated with this tracker instance.
          *
-         * @return <code>true</code> if the file was deleted successfully;
+         * @return {@code true} if the file was deleted successfully;
          *         <code>false</code> otherwise.
          */
         public boolean delete() {

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileDeleteStrategy.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileDeleteStrategy.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileDeleteStrategy.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileDeleteStrategy.java Fri Mar 30 15:12:29 2012
@@ -143,7 +143,7 @@ public class FileDeleteStrategy {
          * if the file exists.
          *
          * @param fileToDelete  the file to delete, not null
-         * @return Always returns <code>true</code>
+         * @return Always returns {@code true}
          * @throws NullPointerException if the file is null
          * @throws IOException if an error occurs during file deletion
          */

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java Fri Mar 30 15:12:29 2012
@@ -297,7 +297,7 @@ public class FileUtils {
      * An exception is thrown if the parent directory cannot be created.
      * 
      * @param file  the file to open for output, must not be {@code null}
-     * @param append if <code>true</code>, then bytes will be added to the
+     * @param append if {@code true}, then bytes will be added to the
      * end of the file rather than overwriting
      * @return a new {@link FileOutputStream} for the specified file
      * @throws IOException if the file object is a directory
@@ -918,7 +918,7 @@ public class FileUtils {
      * If the destination file exists, then this method will overwrite it.
      * <p>
      * <strong>Note:</strong> Setting <code>preserveFileDate</code> to
-     * <code>true</code> tries to preserve the file's last modified
+     * {@code true} tries to preserve the file's last modified
      * date/times using {@link File#setLastModified(long)}, however it is
      * not guaranteed that the operation will succeed.
      * If the modification operation fails, no indication is provided.
@@ -979,7 +979,7 @@ public class FileUtils {
      * If the destination file exists, then this method will overwrite it.
      * <p>
      * <strong>Note:</strong> Setting <code>preserveFileDate</code> to
-     * <code>true</code> tries to preserve the file's last modified
+     * {@code true} tries to preserve the file's last modified
      * date/times using {@link File#setLastModified(long)}, however it is
      * not guaranteed that the operation will succeed.
      * If the modification operation fails, no indication is provided.
@@ -1173,7 +1173,7 @@ public class FileUtils {
      * the source with the destination, with the source taking precedence.
      * <p>
      * <strong>Note:</strong> Setting <code>preserveFileDate</code> to
-     * <code>true</code> tries to preserve the files' last modified
+     * {@code true} tries to preserve the files' last modified
      * date/times using {@link File#setLastModified(long)}, however it is
      * not guaranteed that those operations will succeed.
      * If the modification operation fails, no indication is provided.
@@ -1253,7 +1253,7 @@ public class FileUtils {
      * the source with the destination, with the source taking precedence.
      * <p>
      * <strong>Note:</strong> Setting <code>preserveFileDate</code> to
-     * <code>true</code> tries to preserve the files' last modified
+     * {@code true} tries to preserve the files' last modified
      * date/times using {@link File#setLastModified(long)}, however it is
      * not guaranteed that those operations will succeed.
      * If the modification operation fails, no indication is provided.
@@ -1484,7 +1484,7 @@ public class FileUtils {
      * </ul>
      *
      * @param file  file or directory to delete, can be {@code null}
-     * @return <code>true</code> if the file or directory was deleted, otherwise
+     * @return {@code true} if the file or directory was deleted, otherwise
      * <code>false</code>
      *
      * @since 1.4
@@ -1832,7 +1832,7 @@ public class FileUtils {
      * @param file  the file to write
      * @param data  the content to write to the file
      * @param encoding  the encoding to use, {@code null} means platform default
-     * @param append if <code>true</code>, then the String will be added to the
+     * @param append if {@code true}, then the String will be added to the
      * end of the file rather than overwriting
      * @throws IOException in case of an I/O error
      * @since 2.3
@@ -1854,7 +1854,7 @@ public class FileUtils {
      * @param file  the file to write
      * @param data  the content to write to the file
      * @param encoding  the encoding to use, {@code null} means platform default
-     * @param append if <code>true</code>, then the String will be added to the
+     * @param append if {@code true}, then the String will be added to the
      * end of the file rather than overwriting
      * @throws IOException in case of an I/O error
      * @throws UnsupportedCharsetException
@@ -1882,7 +1882,7 @@ public class FileUtils {
      * 
      * @param file  the file to write
      * @param data  the content to write to the file
-     * @param append if <code>true</code>, then the String will be added to the
+     * @param append if {@code true}, then the String will be added to the
      * end of the file rather than overwriting
      * @throws IOException in case of an I/O error
      * @since 2.1
@@ -1908,7 +1908,7 @@ public class FileUtils {
      * 
      * @param file  the file to write
      * @param data  the content to write to the file
-     * @param append if <code>true</code>, then the data will be added to the
+     * @param append if {@code true}, then the data will be added to the
      * end of the file rather than overwriting
      * @throws IOException in case of an I/O error
      * @since 2.1
@@ -1950,7 +1950,7 @@ public class FileUtils {
      * @param file  the file to write
      * @param data  the content to write to the file
      * @param encoding  the encoding to use, {@code null} means platform default
-     * @param append if <code>true</code>, then the data will be added to the
+     * @param append if {@code true}, then the data will be added to the
      * end of the file rather than overwriting
      * @throws IOException in case of an I/O error
      * @since IO 2.3
@@ -1966,7 +1966,7 @@ public class FileUtils {
      * @param file  the file to write
      * @param data  the content to write to the file
      * @param encoding  the encoding to use, {@code null} means platform default
-     * @param append if <code>true</code>, then the data will be added to the
+     * @param append if {@code true}, then the data will be added to the
      * end of the file rather than overwriting
      * @throws IOException in case of an I/O error
      * @throws UnsupportedCharsetException
@@ -1998,7 +1998,7 @@ public class FileUtils {
      *
      * @param file  the file to write to
      * @param data  the content to write to the file
-     * @param append if <code>true</code>, then bytes will be added to the
+     * @param append if {@code true}, then bytes will be added to the
      * end of the file rather than overwriting
      * @throws IOException in case of an I/O error
      * @since IO 2.1
@@ -2041,7 +2041,7 @@ public class FileUtils {
      * @param file  the file to write to
      * @param encoding  the encoding to use, {@code null} means platform default
      * @param lines  the lines to write, {@code null} entries produce blank lines
-     * @param append if <code>true</code>, then the lines will be added to the
+     * @param append if {@code true}, then the lines will be added to the
      * end of the file rather than overwriting
      * @throws IOException in case of an I/O error
      * @throws java.io.UnsupportedEncodingException if the encoding is not supported by the VM
@@ -2072,7 +2072,7 @@ public class FileUtils {
      *
      * @param file  the file to write to
      * @param lines  the lines to write, {@code null} entries produce blank lines
-     * @param append if <code>true</code>, then the lines will be added to the
+     * @param append if {@code true}, then the lines will be added to the
      * end of the file rather than overwriting
      * @throws IOException in case of an I/O error
      * @since 2.1
@@ -2111,7 +2111,7 @@ public class FileUtils {
      * @param encoding  the encoding to use, {@code null} means platform default
      * @param lines  the lines to write, {@code null} entries produce blank lines
      * @param lineEnding  the line separator to use, {@code null} is system default
-     * @param append if <code>true</code>, then the lines will be added to the
+     * @param append if {@code true}, then the lines will be added to the
      * end of the file rather than overwriting
      * @throws IOException in case of an I/O error
      * @throws java.io.UnsupportedEncodingException if the encoding is not supported by the VM
@@ -2152,7 +2152,7 @@ public class FileUtils {
      * @param file  the file to write to
      * @param lines  the lines to write, {@code null} entries produce blank lines
      * @param lineEnding  the line separator to use, {@code null} is system default
-     * @param append if <code>true</code>, then the lines will be added to the
+     * @param append if {@code true}, then the lines will be added to the
      * end of the file rather than overwriting
      * @throws IOException in case of an I/O error
      * @since 2.1
@@ -2595,7 +2595,7 @@ public class FileUtils {
      *
      * @param src the file to be moved
      * @param destDir the destination file
-     * @param createDestDir If <code>true</code> create the destination directory,
+     * @param createDestDir If {@code true} create the destination directory,
      * otherwise if <code>false</code> throw an IOException
      * @throws NullPointerException if source or destination is {@code null}
      * @throws FileExistsException if the directory exists in the destination directory
@@ -2672,7 +2672,7 @@ public class FileUtils {
      *
      * @param srcFile the file to be moved
      * @param destDir the destination file
-     * @param createDestDir If <code>true</code> create the destination directory,
+     * @param createDestDir If {@code true} create the destination directory,
      * otherwise if <code>false</code> throw an IOException
      * @throws NullPointerException if source or destination is {@code null}
      * @throws FileExistsException if the destination file exists
@@ -2707,7 +2707,7 @@ public class FileUtils {
      *
      * @param src the file or directory to be moved
      * @param destDir the destination directory 
-     * @param createDestDir If <code>true</code> create the destination directory,
+     * @param createDestDir If {@code true} create the destination directory,
      * otherwise if <code>false</code> throw an IOException
      * @throws NullPointerException if source or destination is {@code null}
      * @throws FileExistsException if the directory or file exists in the destination directory

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/FilenameUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FilenameUtils.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FilenameUtils.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FilenameUtils.java Fri Mar 30 15:12:29 2012
@@ -232,7 +232,7 @@ public class FilenameUtils {
      * the separator character.
      *
      * @param filename  the filename to normalize, null returns null
-     * @param unixSeparator <code>true</code> if a unix separator should
+     * @param unixSeparator {@code true} if a unix separator should
      * be used or <code>false</code> if a windows separator should be used.
      * @return the normalized filename, or null if invalid
      * @since 2.0
@@ -326,7 +326,7 @@ public class FilenameUtils {
      * </pre>
      *
      * @param filename  the filename to normalize, null returns null
-     * @param unixSeparator <code>true</code> if a unix separator should
+     * @param unixSeparator {@code true} if a unix separator should
      * be used or <code>false</code> if a windows separtor should be used.
      * @return the normalized filename, or null if invalid
      * @since 2.0

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/LineIterator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/LineIterator.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/LineIterator.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/LineIterator.java Fri Mar 30 15:12:29 2012
@@ -81,7 +81,7 @@ public class LineIterator implements Ite
      * If there is an <code>IOException</code> then {@link #close()} will
      * be called on this instance.
      *
-     * @return <code>true</code> if the Reader has more lines
+     * @return {@code true} if the Reader has more lines
      * @throws IllegalStateException if an IO exception occurs
      */
     public boolean hasNext() {

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/TaggedIOException.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/TaggedIOException.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/TaggedIOException.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/TaggedIOException.java Fri Mar 30 15:12:29 2012
@@ -58,7 +58,7 @@ public class TaggedIOException extends I
      *
      * @param throwable The Throwable object to check
      * @param tag tag object
-     * @return <code>true</code> if the throwable has the specified tag,
+     * @return {@code true} if the throwable has the specified tag,
      * otherwise <code>false</code>
      */
     public static boolean isTaggedWith(Throwable throwable, Object tag) {

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java Fri Mar 30 15:12:29 2012
@@ -44,7 +44,7 @@ import org.apache.commons.io.FileUtils;
  * </pre>
  * <p>
  * <strong>N.B.</strong> Directories are treated as <b>zero size</b> unless
- * <code>sumDirectoryContents</code> is <code>true</code>.
+ * <code>sumDirectoryContents</code> is {@code true}.
  *
  * @version $Id$
  * @since 1.4
@@ -83,10 +83,10 @@ public class SizeFileComparator extends 
      * Construct a file size comparator instance specifying whether the size of
      * the directory contents should be aggregated.
      * <p>
-     * If the <code>sumDirectoryContents</code> is <code>true</code> The size of
+     * If the <code>sumDirectoryContents</code> is {@code true} The size of
      * directories is calculated using  {@link FileUtils#sizeOfDirectory(File)}.
      *
-     * @param sumDirectoryContents <code>true</code> if the sum of the directoryies contents
+     * @param sumDirectoryContents {@code true} if the sum of the directoryies contents
      *  should be calculated, otherwise <code>false</code> if directories should be treated
      *  as size zero (see {@link FileUtils#sizeOfDirectory(File)}).
      */

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java Fri Mar 30 15:12:29 2012
@@ -24,8 +24,8 @@ import java.util.List;
 
 /**
  * A {@link java.io.FileFilter} providing conditional AND logic across a list of
- * file filters. This filter returns <code>true</code> if all filters in the
- * list return <code>true</code>. Otherwise, it returns <code>false</code>.
+ * file filters. This filter returns {@code true} if all filters in the
+ * list return {@code true}. Otherwise, it returns <code>false</code>.
  * Checking of the file filter list stops when the first filter returns
  * <code>false</code>.
  *

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanReadFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanReadFileFilter.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanReadFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanReadFileFilter.java Fri Mar 30 15:12:29 2012
@@ -82,7 +82,7 @@ public class CanReadFileFilter extends A
      * Checks to see if the file can be read.
      * 
      * @param file  the File to check.
-     * @return <code>true</code> if the file can be
+     * @return {@code true} if the file can be
      *  read, otherwise <code>false</code>.
      */
     @Override

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java Fri Mar 30 15:12:29 2012
@@ -70,7 +70,7 @@ public class CanWriteFileFilter extends 
      * Checks to see if the file can be written to.
      * 
      * @param file  the File to check
-     * @return <code>true</code> if the file can be
+     * @return {@code true} if the file can be
      *  written to, otherwise <code>false</code>.
      */
     @Override

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.java Fri Mar 30 15:12:29 2012
@@ -47,7 +47,7 @@ public interface ConditionalFileFilter {
      * Removes the specified file filter.
      *
      * @param ioFileFilter filter to be removed
-     * @return <code>true</code> if the filter was found in the list,
+     * @return {@code true} if the filter was found in the list,
      * <code>false</code> otherwise
      * @since 1.1
      */

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/EmptyFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/EmptyFileFilter.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/EmptyFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/EmptyFileFilter.java Fri Mar 30 15:12:29 2012
@@ -69,7 +69,7 @@ public class EmptyFileFilter extends Abs
      * Checks to see if the file is empty.
      * 
      * @param file  the file or directory to check
-     * @return <code>true</code> if the file or directory
+     * @return {@code true} if the file or directory
      *  is <i>empty</i>, otherwise <code>false</code>.
      */
     @Override

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/HiddenFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/HiddenFileFilter.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/HiddenFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/HiddenFileFilter.java Fri Mar 30 15:12:29 2012
@@ -66,7 +66,7 @@ public class HiddenFileFilter extends Ab
      * Checks to see if the file is hidden.
      * 
      * @param file  the File to check
-     * @return <code>true</code> if the file is
+     * @return {@code true} if the file is
      *  <i>hidden</i>, otherwise <code>false</code>.
      */
     @Override

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/MagicNumberFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/MagicNumberFileFilter.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/MagicNumberFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/MagicNumberFileFilter.java Fri Mar 30 15:12:29 2012
@@ -231,7 +231,7 @@ public class MagicNumberFileFilter exten
      * 
      * @param file the file to accept or reject.
      * 
-     * @return <code>true</code> if the file contains the filter's magic number 
+     * @return {@code true} if the file contains the filter's magic number 
      *         at the specified offset, <code>false</code> otherwise.
      */
     @Override

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java Fri Mar 30 15:12:29 2012
@@ -24,10 +24,10 @@ import java.util.List;
 
 /**
  * A {@link java.io.FileFilter} providing conditional OR logic across a list of
- * file filters. This filter returns <code>true</code> if any filters in the
- * list return <code>true</code>. Otherwise, it returns <code>false</code>.
+ * file filters. This filter returns {@code true} if any filters in the
+ * list return {@code true}. Otherwise, it returns <code>false</code>.
  * Checking of the file filter list stops when the first filter returns
- * <code>true</code>.
+ * {@code true}.
  *
  * @since 1.0
  * @version $Id$

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/BoundedInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/BoundedInputStream.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/BoundedInputStream.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/BoundedInputStream.java Fri Mar 30 15:12:29 2012
@@ -164,7 +164,7 @@ public class BoundedInputStream extends 
 
     /**
      * Invokes the delegate's <code>close()</code> method
-     * if {@link #isPropagateClose()} is <code>true</code>.
+     * if {@link #isPropagateClose()} is {@code true}.
      * @throws IOException if an I/O error occurs
      */
     @Override
@@ -207,7 +207,7 @@ public class BoundedInputStream extends 
      * Indicates whether the {@link #close()} method
      * should propagate to the underling {@link InputStream}.
      *
-     * @return <code>true</code> if calling {@link #close()}
+     * @return {@code true} if calling {@link #close()}
      * propagates to the <code>close()</code> method of the
      * underlying stream or <code>false</code> if it does not.
      */
@@ -219,7 +219,7 @@ public class BoundedInputStream extends 
      * Set whether the {@link #close()} method
      * should propagate to the underling {@link InputStream}.
      *
-     * @param propagateClose <code>true</code> if calling
+     * @param propagateClose {@code true} if calling
      * {@link #close()} propagates to the <code>close()</code>
      * method of the underlying stream or
      * <code>false</code> if it does not.

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceReader.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceReader.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceReader.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceReader.java Fri Mar 30 15:12:29 2012
@@ -65,7 +65,7 @@ public class CharSequenceReader extends 
     /**
      * Mark is supported (returns true).
      *
-     * @return <code>true</code>
+     * @return {@code true}
      */
     @Override
     public boolean markSupported() {

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/NullInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/NullInputStream.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/NullInputStream.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/NullInputStream.java Fri Mar 30 15:12:29 2012
@@ -178,7 +178,7 @@ public class NullInputStream extends Inp
      * or <code>-1</code> if the end of file has been reached and
      * <code>throwEofException</code> is set to <code>false</code>.
      * @throws EOFException if the end of file is reached and
-     * <code>throwEofException</code> is set to <code>true</code>.
+     * <code>throwEofException</code> is set to {@code true}.
      * @throws IOException if trying to read past the end of file.
      */
     @Override
@@ -201,7 +201,7 @@ public class NullInputStream extends Inp
      * if the end of file has been reached and
      * <code>throwEofException</code> is set to <code>false</code>.
      * @throws EOFException if the end of file is reached and
-     * <code>throwEofException</code> is set to <code>true</code>.
+     * <code>throwEofException</code> is set to {@code true}.
      * @throws IOException if trying to read past the end of file.
      */
     @Override
@@ -219,7 +219,7 @@ public class NullInputStream extends Inp
      * if the end of file has been reached and
      * <code>throwEofException</code> is set to <code>false</code>.
      * @throws EOFException if the end of file is reached and
-     * <code>throwEofException</code> is set to <code>true</code>.
+     * <code>throwEofException</code> is set to {@code true}.
      * @throws IOException if trying to read past the end of file.
      */
     @Override
@@ -273,7 +273,7 @@ public class NullInputStream extends Inp
      * if the end of file has been reached and
      * <code>throwEofException</code> is set to <code>false</code>.
      * @throws EOFException if the end of file is reached and
-     * <code>throwEofException</code> is set to <code>true</code>.
+     * <code>throwEofException</code> is set to {@code true}.
      * @throws IOException if trying to read past the end of file.
      */
     @Override
@@ -325,7 +325,7 @@ public class NullInputStream extends Inp
      * @return <code>-1</code> if <code>throwEofException</code> is
      * set to <code>false</code>
      * @throws EOFException if <code>throwEofException</code> is set
-     * to <code>true</code>.
+     * to {@code true}.
      */
     private int doEndOfFile() throws EOFException {
         eof = true;

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/NullReader.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/NullReader.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/NullReader.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/NullReader.java Fri Mar 30 15:12:29 2012
@@ -161,7 +161,7 @@ public class NullReader extends Reader {
      * or <code>-1</code> if the end of file has been reached and
      * <code>throwEofException</code> is set to <code>false</code>.
      * @throws EOFException if the end of file is reached and
-     * <code>throwEofException</code> is set to <code>true</code>.
+     * <code>throwEofException</code> is set to {@code true}.
      * @throws IOException if trying to read past the end of file.
      */
     @Override
@@ -184,7 +184,7 @@ public class NullReader extends Reader {
      * if the end of file has been reached and
      * <code>throwEofException</code> is set to <code>false</code>.
      * @throws EOFException if the end of file is reached and
-     * <code>throwEofException</code> is set to <code>true</code>.
+     * <code>throwEofException</code> is set to {@code true}.
      * @throws IOException if trying to read past the end of file.
      */
     @Override
@@ -202,7 +202,7 @@ public class NullReader extends Reader {
      * if the end of file has been reached and
      * <code>throwEofException</code> is set to <code>false</code>.
      * @throws EOFException if the end of file is reached and
-     * <code>throwEofException</code> is set to <code>true</code>.
+     * <code>throwEofException</code> is set to {@code true}.
      * @throws IOException if trying to read past the end of file.
      */
     @Override
@@ -256,7 +256,7 @@ public class NullReader extends Reader {
      * if the end of file has been reached and
      * <code>throwEofException</code> is set to <code>false</code>.
      * @throws EOFException if the end of file is reached and
-     * <code>throwEofException</code> is set to <code>true</code>.
+     * <code>throwEofException</code> is set to {@code true}.
      * @throws IOException if trying to read past the end of file.
      */
     @Override
@@ -308,7 +308,7 @@ public class NullReader extends Reader {
      * @return <code>-1</code> if <code>throwEofException</code> is
      * set to <code>false</code>
      * @throws EOFException if <code>throwEofException</code> is set
-     * to <code>true</code>.
+     * to {@code true}.
      */
     private int doEndOfFile() throws EOFException {
         eof = true;

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TaggedInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TaggedInputStream.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TaggedInputStream.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TaggedInputStream.java Fri Mar 30 15:12:29 2012
@@ -81,7 +81,7 @@ public class TaggedInputStream extends P
      * Tests if the given exception was caused by this stream.
      *
      * @param exception an exception
-     * @return <code>true</code> if the exception was thrown by this stream,
+     * @return {@code true} if the exception was thrown by this stream,
      *         <code>false</code> otherwise
      */
     public boolean isCauseOf(Throwable exception) {

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TeeInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TeeInputStream.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TeeInputStream.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TeeInputStream.java Fri Mar 30 15:12:29 2012
@@ -64,7 +64,7 @@ public class TeeInputStream extends Prox
      * Creates a TeeInputStream that proxies the given {@link InputStream}
      * and copies all read bytes to the given {@link OutputStream}. The given
      * output stream will be closed when this stream gets closed if the
-     * closeBranch parameter is <code>true</code>.
+     * closeBranch parameter is {@code true}.
      *
      * @param input input stream to be proxied
      * @param branch output stream that will receive a copy of all bytes read

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileEntry.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileEntry.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileEntry.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileEntry.java Fri Mar 30 15:12:29 2012
@@ -88,7 +88,7 @@ public class FileEntry implements Serial
      * and <code>length</code> properties are compared for changes
      *
      * @param file the file instance to compare to
-     * @return <code>true</code> if the file has changed, otherwise <code>false</code>
+     * @return {@code true} if the file has changed, otherwise <code>false</code>
      */
     public boolean refresh(File file) {
 

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/DeferredFileOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/DeferredFileOutputStream.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/DeferredFileOutputStream.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/DeferredFileOutputStream.java Fri Mar 30 15:12:29 2012
@@ -189,7 +189,7 @@ public class DeferredFileOutputStream
      * Determines whether or not the data for this output stream has been
      * retained in memory.
      *
-     * @return <code>true</code> if the data is available in memory;
+     * @return {@code true} if the data is available in memory;
      *         <code>false</code> otherwise.
      */
     public boolean isInMemory()

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/TaggedOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/TaggedOutputStream.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/TaggedOutputStream.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/TaggedOutputStream.java Fri Mar 30 15:12:29 2012
@@ -81,7 +81,7 @@ public class TaggedOutputStream extends 
      * Tests if the given exception was caused by this stream.
      *
      * @param exception an exception
-     * @return <code>true</code> if the exception was thrown by this stream,
+     * @return {@code true} if the exception was thrown by this stream,
      *         <code>false</code> otherwise
      */
     public boolean isCauseOf(Exception exception) {

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java?rev=1307461&r1=1307460&r2=1307461&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java Fri Mar 30 15:12:29 2012
@@ -194,7 +194,7 @@ public abstract class ThresholdingOutput
      * Determines whether or not the configured threshold has been exceeded for
      * this output stream.
      *
-     * @return <code>true</code> if the threshold has been reached;
+     * @return {@code true} if the threshold has been reached;
      *         <code>false</code> otherwise.
      */
     public boolean isThresholdExceeded()