chore: PMD 1.20.0 adaptation
Signed-off-by: Leo Galambos <lg@hq.egothor.org>
This commit is contained in:
@@ -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) });
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user