Skip to content

Commit 0c09b3e

Browse files
committed
Javadoc fixes only.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@201613 13f79535-47bb-0310-9956-ffa450edef68
1 parent f1d5bd4 commit 0c09b3e

2 files changed

Lines changed: 11 additions & 10 deletions

File tree

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2004 The Apache Software Foundation.
2+
* Copyright 2002-2005 The Apache Software Foundation.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -22,7 +22,7 @@
2222
import java.util.List;
2323

2424
/**
25-
* A {@link FileFilter} providing conditional AND logic across a list of
25+
* A {@link java.io.FileFilter} providing conditional AND logic across a list of
2626
* file filters. This filter returns <code>true</code> if all filters in the
2727
* list return <code>true</code>. Otherwise, it returns <code>false</code>.
2828
* Checking of the file filter list stops when the first filter returns
@@ -51,6 +51,7 @@ public AndFileFilter() {
5151
/**
5252
* Constructs a new instance of <code>AndFileFilter</code>
5353
* with the specified list of filters.
54+
* @param fileFilters a List of IOFileFilter instances
5455
* @since Commons IO 1.1
5556
*/
5657
public AndFileFilter(final List fileFilters) {
@@ -74,21 +75,21 @@ public AndFileFilter(IOFileFilter filter1, IOFileFilter filter2) {
7475
}
7576

7677
/**
77-
* @{inheritDoc}
78+
* {@inheritDoc}
7879
*/
7980
public void addFileFilter(final IOFileFilter ioFileFilter) {
8081
this.fileFilters.add(ioFileFilter);
8182
}
8283

8384
/**
84-
* @{inheritDoc}
85+
* {@inheritDoc}
8586
*/
8687
public List getFileFilters() {
8788
return Collections.unmodifiableList(this.fileFilters);
8889
}
8990

9091
/**
91-
* @{inheritDoc}
92+
* {@inheritDoc}
9293
*/
9394
public boolean removeFileFilter(final IOFileFilter ioFileFilter) {
9495
return this.fileFilters.remove(ioFileFilter);
@@ -102,7 +103,7 @@ public void setFileFilters(final List fileFilters) {
102103
}
103104

104105
/**
105-
* @{inheritDoc}
106+
* {@inheritDoc}
106107
*/
107108
public boolean accept(final File file) {
108109
if (this.fileFilters.size() == 0) {
@@ -118,7 +119,7 @@ public boolean accept(final File file) {
118119
}
119120

120121
/**
121-
* @{inheritDoc}
122+
* {@inheritDoc}
122123
*/
123124
public boolean accept(final File file, final String name) {
124125
if (this.fileFilters.size() == 0) {

src/java/org/apache/commons/io/filefilter/OrFileFilter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2004 The Apache Software Foundation.
2+
* Copyright 2002-2005 The Apache Software Foundation.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -22,7 +22,7 @@
2222
import java.util.List;
2323

2424
/**
25-
* A {@link FileFilter} providing conditional OR logic across a list of
25+
* A {@link java.io.FileFilter} providing conditional OR logic across a list of
2626
* file filters. This filter returns <code>true</code> if any filters in the
2727
* list return <code>true</code>. Otherwise, it returns <code>false</code>.
2828
* Checking of the file filter list stops when the first filter returns
@@ -52,7 +52,7 @@ public OrFileFilter() {
5252
* Constructs a new instance of <code>OrFileFilter</code>
5353
* with the specified filters.
5454
*
55-
* @param fileFileter the file filters for this filter
55+
* @param fileFilters the file filters for this filter
5656
* @since Commons IO 1.1
5757
*/
5858
public OrFileFilter(final List fileFilters) {

0 commit comments

Comments
 (0)