Skip to content

Commit

Permalink
Warning: Suppress boolean-parameter warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjon3377 committed Apr 12, 2024
1 parent 5650311 commit 2df8e4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions model/src/main/java/common/xmlio/Warning.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public Warning(final Consumer<Throwable> impl) {
this.impl = impl;
}

@SuppressWarnings("BooleanParameter") // Dummy parameter to distinguish signatures
public Warning(final Consumer<String> handler, final boolean ignored) {
impl = t -> {
if (t instanceof SPFormatException) {
Expand Down

0 comments on commit 2df8e4b

Please sign in to comment.