We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a0aee1 commit 2c35ef8Copy full SHA for 2c35ef8
log4j-core/src/main/java/org/apache/logging/log4j/core/filter/RegexFilter.java
@@ -133,7 +133,6 @@ public Result filter(
133
return (useRawMessage || params == null || params.length == 0)
134
? filter(msg)
135
: filter(ParameterizedMessage.format(msg, params));
136
-
137
}
138
139
/**
@@ -311,11 +310,6 @@ public Builder setUseRawMsg(final boolean useRawMsg) {
311
310
return this;
312
313
314
- /** {@inheritDoc} */
315
- public boolean isValid() {
316
- return (Strings.isNotEmpty(this.regex));
317
- }
318
319
320
* Builds and returns a {@link RegexFilter} instance configured by this builder.
321
*
@@ -339,5 +333,4 @@ public boolean isValid() {
339
333
340
334
341
335
342
343
336
0 commit comments