Skip to content

Commit 9d9dffc

Browse files
author
Gary Gregory
committed
Format to line length 120.
1 parent 57e6135 commit 9d9dffc

1 file changed

Lines changed: 9 additions & 13 deletions

File tree

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

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,18 @@
2323
import java.util.List;
2424

2525
/**
26-
* A {@link java.io.FileFilter} providing conditional OR logic across a list of
27-
* file filters. This filter returns {@code true} if any filters in the
28-
* list return {@code true}. Otherwise, it returns {@code false}.
29-
* Checking of the file filter list stops when the first filter returns
30-
* {@code true}.
26+
* A {@link java.io.FileFilter} providing conditional OR logic across a list of file filters. This filter returns
27+
* {@code true} if any filters in the list return {@code true}. Otherwise, it returns {@code false}. Checking of the
28+
* file filter list stops when the first filter returns {@code true}.
3129
*
3230
* @since 1.0
3331
*
3432
* @see FileFilterUtils#or(IOFileFilter...)
3533
*/
36-
public class OrFileFilter
37-
extends AbstractFileFilter
38-
implements ConditionalFileFilter, Serializable {
34+
public class OrFileFilter extends AbstractFileFilter implements ConditionalFileFilter, Serializable {
3935

4036
private static final long serialVersionUID = 5767770777065432721L;
37+
4138
/** The list of file filters. */
4239
private final List<IOFileFilter> fileFilters;
4340

@@ -53,8 +50,8 @@ public OrFileFilter() {
5350
/**
5451
* Constructs a new file filter that ORs the result of two other filters.
5552
*
56-
* @param filter1 the first filter, must not be null
57-
* @param filter2 the second filter, must not be null
53+
* @param filter1 the first filter, must not be null
54+
* @param filter2 the second filter, must not be null
5855
* @throws IllegalArgumentException if either filter is null
5956
*/
6057
public OrFileFilter(final IOFileFilter filter1, final IOFileFilter filter2) {
@@ -67,10 +64,9 @@ public OrFileFilter(final IOFileFilter filter1, final IOFileFilter filter2) {
6764
}
6865

6966
/**
70-
* Constructs a new instance of <code>OrFileFilter</code>
71-
* with the specified filters.
67+
* Constructs a new instance of <code>OrFileFilter</code> with the specified filters.
7268
*
73-
* @param fileFilters the file filters for this filter, copied, null ignored
69+
* @param fileFilters the file filters for this filter, copied, null ignored
7470
* @since 1.1
7571
*/
7672
public OrFileFilter(final List<IOFileFilter> fileFilters) {

0 commit comments

Comments
 (0)