Skip to content

Commit 5d011f4

Browse files
committed
Javadoc
1 parent f4b721c commit 5d011f4

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

src/main/java/org/apache/commons/io/file/AccumulatorPathVisitor.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ public class AccumulatorPathVisitor extends CountingPathVisitor {
6666
* @since 2.18.0
6767
*/
6868
public static class Builder extends AbstractBuilder<AccumulatorPathVisitor, Builder> {
69+
70+
/**
71+
* Constructs a new builder.
72+
*/
73+
public Builder() {
74+
// empty.
75+
}
76+
6977
@Override
7078
public AccumulatorPathVisitor get() {
7179
return new AccumulatorPathVisitor(this);

src/main/java/org/apache/commons/io/file/CountingPathVisitor.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ public abstract static class AbstractBuilder<T, B extends AbstractBuilder<T, B>>
5353
private PathFilter directoryFilter = defaultDirectoryFilter();
5454
private UnaryOperator<Path> directoryPostTransformer = defaultDirectoryTransformer();
5555

56+
/**
57+
* Constructs a new builder for subclasses.
58+
*/
59+
public AbstractBuilder() {
60+
// empty.
61+
}
62+
5663
PathFilter getDirectoryFilter() {
5764
return directoryFilter;
5865
}
@@ -121,6 +128,13 @@ public B setPathCounters(final PathCounters pathCounters) {
121128
*/
122129
public static class Builder extends AbstractBuilder<CountingPathVisitor, Builder> {
123130

131+
/**
132+
* Constructs a new builder.
133+
*/
134+
public Builder() {
135+
// empty.
136+
}
137+
124138
@Override
125139
public CountingPathVisitor get() {
126140
return new CountingPathVisitor(this);

src/main/java/org/apache/commons/io/file/SimplePathVisitor.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ protected abstract static class AbstractBuilder<T, B extends AbstractSupplier<T,
4444

4545
private IOBiFunction<Path, IOException, FileVisitResult> visitFileFailedFunction;
4646

47+
/**
48+
* Constructs a new builder for subclasses.
49+
*/
50+
public AbstractBuilder() {
51+
// empty.
52+
}
53+
4754
IOBiFunction<Path, IOException, FileVisitResult> getVisitFileFailedFunction() {
4855
return visitFileFailedFunction;
4956
}

0 commit comments

Comments
 (0)