diff options
author | Taka <tc012c@att.com> | 2018-01-18 11:51:47 -0500 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2018-01-18 21:20:50 +0000 |
commit | 1f254c086efdf6e9d451c4712a44bce0932c67ea (patch) | |
tree | f43d6acde0acccbe7f96bd4807671f3ca0253618 /appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle | |
parent | 4764c0e887cbf3a72ef4f261fbd57d2b00786771 (diff) |
fixed some Sonar critical issues
Change-Id: I9dfe73a45b43919ff7b01ab3217d957a40ac2018
Issue-ID: APPC-408
Signed-off-by: Taka <tc012c@att.com>
Diffstat (limited to 'appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle')
-rw-r--r-- | appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main/java/org/onap/appc/adapter/chef/chefclient/Utils.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main/java/org/onap/appc/adapter/chef/chefclient/Utils.java b/appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main/java/org/onap/appc/adapter/chef/chefclient/Utils.java index dbaf1d3f2..33b20dc4d 100644 --- a/appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main/java/org/onap/appc/adapter/chef/chefclient/Utils.java +++ b/appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main/java/org/onap/appc/adapter/chef/chefclient/Utils.java @@ -25,7 +25,6 @@ package org.onap.appc.adapter.chef.chefclient; import java.io.BufferedReader; -import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.security.InvalidKeyException; @@ -48,7 +47,6 @@ public class Utils { public static String sha1AndBase64(String inStr) { MessageDigest md = null; - String outStr = null; byte[] outbty = null; try { md = MessageDigest.getInstance("SHA-1"); |