We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d348a6 commit 5a0aee1Copy full SHA for 5a0aee1
log4j-core/src/main/java/org/apache/logging/log4j/core/util/Builder.java
@@ -45,11 +45,8 @@ public interface Builder<T> extends Supplier<T> {
45
*/
46
T build();
47
48
- /**
49
- * Validates that the builder is properly configured to build.
50
- * @return {@code true} if the builder configuration is valid; otherwise, {@code false}
51
- */
52
- default boolean isValid() {
53
- return PluginBuilder.validateFields(this, getErrorPrefix());
+ @Override
+ default T get() {
+ return build();
54
}
55
0 commit comments