mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 12:02:20 +00:00
Add findsecbugs plugin to spotbugs.
And suppress existing warnings. We should clean some of them up, but that's for different PRs.
This commit is contained in:
1 parent
30dbf728ec
commit
c76ee59810
21 files changed
+63
-2
No files matched your search
@@ -596,6 +596,8 @@ public class Util {
|
||||
* @see DigestUtils#md5Hex(InputStream)
|
||||
*/
|
||||
@Nonnull
|
||||
@SuppressFBWarnings(value = "WEAK_MESSAGE_DIGEST_MD5", justification =
|
||||
"This method should only be used for non-security applications where their weakness is not a problem.")
|
||||
public static String getDigestOf(@Nonnull InputStream source) throws IOException {
|
||||
try {
|
||||
MessageDigest md5 = MessageDigest.getInstance("MD5");
|
||||
|
||||
Reference in new issue
Block a user