chore: PMD 1.20.0 adaptation

Signed-off-by: Leo Galambos <lg@hq.egothor.org>
This commit is contained in:
2026-01-01 11:44:13 +01:00
parent 969a846d95
commit e01d95f48e
3 changed files with 5 additions and 5 deletions

View File

@@ -103,10 +103,10 @@ public class ByteVerificationStrategy extends VerificationBiPredicate<byte[]> {
if (LOG.isLoggable(Level.FINE)) {
if (r == 0) {
LOG.log(Level.FINE, "PASS {0} == {1}", // NOPMD
LOG.log(Level.FINE, "PASS {0} == {1}",
new Object[] { Strings.toShortString(a), Strings.toShortString(b) });
} else {
LOG.log(Level.FINE, "FAIL {0} != {1}", // NOPMD
LOG.log(Level.FINE, "FAIL {0} != {1}",
new Object[] { Strings.toShortString(a), Strings.toShortString(b) });
}
}

View File

@@ -103,9 +103,9 @@ public class SignatureVerificationStrategy extends VerificationBiPredicate<Signa
if (LOG.isLoggable(Level.FINE)) {
if (result) {
LOG.log(Level.FINE, "PASS {0}", Strings.toShortString(b)); // NOPMD
LOG.log(Level.FINE, "PASS {0}", Strings.toShortString(b));
} else {
LOG.log(Level.FINE, "FAIL {0}", Strings.toShortString(b)); // NOPMD
LOG.log(Level.FINE, "FAIL {0}", Strings.toShortString(b));
}
}