We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a46b759 commit 5f63b1eCopy full SHA for 5f63b1e
src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java
@@ -107,7 +107,7 @@ public Builder() {
107
108
@Override
109
public WildcardFileFilter get() {
110
- return new WildcardFileFilter(ioCase, wildcards);
+ return new WildcardFileFilter(this);
111
}
112
113
/**
@@ -167,6 +167,10 @@ private static <T> T requireWildcards(final T wildcards) {
167
/** Whether the comparison is case-sensitive. */
168
private final IOCase ioCase;
169
170
+ private WildcardFileFilter(final Builder builder) {
171
+ this(builder.ioCase, builder.wildcards);
172
+ }
173
+
174
175
* Constructs a new wildcard filter for an array of wildcards specifying case-sensitivity.
176
*
0 commit comments