SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.2.0

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
19 3 0 0

Files

Class Bugs
org.eclipse.jgit.gpg.bc.internal.BouncyCastleGpgKeyLocator 1
org.eclipse.jgit.gpg.bc.internal.BouncyCastleGpgSignatureVerifier 1
org.eclipse.jgit.gpg.bc.internal.BouncyCastleGpgSigner 1

org.eclipse.jgit.gpg.bc.internal.BouncyCastleGpgKeyLocator

Bug Category Details Line Priority
Redundant nullcheck of secretKey, which is known to be non-null in org.eclipse.jgit.gpg.bc.internal.BouncyCastleGpgKeyLocator.findSecretKeyForKeyBoxPublicKey(PGPPublicKey, Path) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 491 Medium

org.eclipse.jgit.gpg.bc.internal.BouncyCastleGpgSignatureVerifier

Bug Category Details Line Priority
Redundant nullcheck of keyId, which is known to be non-null in org.eclipse.jgit.gpg.bc.internal.BouncyCastleGpgSignatureVerifier.verify(byte[], byte[]) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 176 Medium

org.eclipse.jgit.gpg.bc.internal.BouncyCastleGpgSigner

Bug Category Details Line Priority
Redundant nullcheck of gpgKey, which is known to be non-null in org.eclipse.jgit.gpg.bc.internal.BouncyCastleGpgSigner.canLocateSigningKey(String, PersonIdent, CredentialsProvider, GpgConfig) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 99 Medium