Skip to content

Commit 3ef5637

Browse files
committed
Replace "<code>false</code>" with "{@code false}"
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1307462 13f79535-47bb-0310-9956-ffa450edef68
1 parent f55b2ae commit 3ef5637

21 files changed

Lines changed: 35 additions & 35 deletions

src/main/java/org/apache/commons/io/FileCleaningTracker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public String getPath() {
272272
* Deletes the file associated with this tracker instance.
273273
*
274274
* @return {@code true} if the file was deleted successfully;
275-
* <code>false</code> otherwise.
275+
* {@code false} otherwise.
276276
*/
277277
public boolean delete() {
278278
return deleteStrategy.deleteQuietly(new File(path));

src/main/java/org/apache/commons/io/FileUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1485,7 +1485,7 @@ public static void deleteDirectory(File directory) throws IOException {
14851485
*
14861486
* @param file file or directory to delete, can be {@code null}
14871487
* @return {@code true} if the file or directory was deleted, otherwise
1488-
* <code>false</code>
1488+
* {@code false}
14891489
*
14901490
* @since 1.4
14911491
*/
@@ -2596,7 +2596,7 @@ public static void moveDirectory(File srcDir, File destDir) throws IOException {
25962596
* @param src the file to be moved
25972597
* @param destDir the destination file
25982598
* @param createDestDir If {@code true} create the destination directory,
2599-
* otherwise if <code>false</code> throw an IOException
2599+
* otherwise if {@code false} throw an IOException
26002600
* @throws NullPointerException if source or destination is {@code null}
26012601
* @throws FileExistsException if the directory exists in the destination directory
26022602
* @throws IOException if source or destination is invalid
@@ -2673,7 +2673,7 @@ public static void moveFile(File srcFile, File destFile) throws IOException {
26732673
* @param srcFile the file to be moved
26742674
* @param destDir the destination file
26752675
* @param createDestDir If {@code true} create the destination directory,
2676-
* otherwise if <code>false</code> throw an IOException
2676+
* otherwise if {@code false} throw an IOException
26772677
* @throws NullPointerException if source or destination is {@code null}
26782678
* @throws FileExistsException if the destination file exists
26792679
* @throws IOException if source or destination is invalid
@@ -2708,7 +2708,7 @@ public static void moveFileToDirectory(File srcFile, File destDir, boolean creat
27082708
* @param src the file or directory to be moved
27092709
* @param destDir the destination directory
27102710
* @param createDestDir If {@code true} create the destination directory,
2711-
* otherwise if <code>false</code> throw an IOException
2711+
* otherwise if {@code false} throw an IOException
27122712
* @throws NullPointerException if source or destination is {@code null}
27132713
* @throws FileExistsException if the directory or file exists in the destination directory
27142714
* @throws IOException if source or destination is invalid

src/main/java/org/apache/commons/io/FilenameUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public static String normalize(String filename) {
233233
*
234234
* @param filename the filename to normalize, null returns null
235235
* @param unixSeparator {@code true} if a unix separator should
236-
* be used or <code>false</code> if a windows separator should be used.
236+
* be used or {@code false} if a windows separator should be used.
237237
* @return the normalized filename, or null if invalid
238238
* @since 2.0
239239
*/
@@ -327,7 +327,7 @@ public static String normalizeNoEndSeparator(String filename) {
327327
*
328328
* @param filename the filename to normalize, null returns null
329329
* @param unixSeparator {@code true} if a unix separator should
330-
* be used or <code>false</code> if a windows separtor should be used.
330+
* be used or {@code false} if a windows separtor should be used.
331331
* @return the normalized filename, or null if invalid
332332
* @since 2.0
333333
*/

src/main/java/org/apache/commons/io/TaggedIOException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public class TaggedIOException extends IOExceptionWithCause {
5959
* @param throwable The Throwable object to check
6060
* @param tag tag object
6161
* @return {@code true} if the throwable has the specified tag,
62-
* otherwise <code>false</code>
62+
* otherwise {@code false}
6363
*/
6464
public static boolean isTaggedWith(Throwable throwable, Object tag) {
6565
return tag != null

src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public SizeFileComparator() {
8787
* directories is calculated using {@link FileUtils#sizeOfDirectory(File)}.
8888
*
8989
* @param sumDirectoryContents {@code true} if the sum of the directoryies contents
90-
* should be calculated, otherwise <code>false</code> if directories should be treated
90+
* should be calculated, otherwise {@code false} if directories should be treated
9191
* as size zero (see {@link FileUtils#sizeOfDirectory(File)}).
9292
*/
9393
public SizeFileComparator(boolean sumDirectoryContents) {

src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
/**
2626
* A {@link java.io.FileFilter} providing conditional AND logic across a list of
2727
* file filters. This filter returns {@code true} if all filters in the
28-
* list return {@code true}. Otherwise, it returns <code>false</code>.
28+
* list return {@code true}. Otherwise, it returns {@code false}.
2929
* Checking of the file filter list stops when the first filter returns
30-
* <code>false</code>.
30+
* {@code false}.
3131
*
3232
* @since 1.0
3333
* @version $Id$

src/main/java/org/apache/commons/io/filefilter/CanReadFileFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ protected CanReadFileFilter() {
8383
*
8484
* @param file the File to check.
8585
* @return {@code true} if the file can be
86-
* read, otherwise <code>false</code>.
86+
* read, otherwise {@code false}.
8787
*/
8888
@Override
8989
public boolean accept(File file) {

src/main/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ protected CanWriteFileFilter() {
7171
*
7272
* @param file the File to check
7373
* @return {@code true} if the file can be
74-
* written to, otherwise <code>false</code>.
74+
* written to, otherwise {@code false}.
7575
*/
7676
@Override
7777
public boolean accept(File file) {

src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public interface ConditionalFileFilter {
4848
*
4949
* @param ioFileFilter filter to be removed
5050
* @return {@code true} if the filter was found in the list,
51-
* <code>false</code> otherwise
51+
* {@code false} otherwise
5252
* @since 1.1
5353
*/
5454
boolean removeFileFilter(IOFileFilter ioFileFilter);

src/main/java/org/apache/commons/io/filefilter/EmptyFileFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ protected EmptyFileFilter() {
7070
*
7171
* @param file the file or directory to check
7272
* @return {@code true} if the file or directory
73-
* is <i>empty</i>, otherwise <code>false</code>.
73+
* is <i>empty</i>, otherwise {@code false}.
7474
*/
7575
@Override
7676
public boolean accept(File file) {

0 commit comments

Comments
 (0)