summaryrefslogtreecommitdiffstats
path: root/cloudify-client/src/main/java
diff options
context:
space:
mode:
authorGOPINATH MATHIVANAN <gopinath.mathivanan@in.ibm.com>2018-09-05 18:58:56 +0530
committerGOPINATH MATHIVANAN <gopinath.mathivanan@in.ibm.com>2018-09-05 18:59:51 +0530
commitd156ce401d617668d81570bc787d90c124ebd530 (patch)
tree60880590512ec186c96cd1b750f1a2a402f586f8 /cloudify-client/src/main/java
parentfbd2fbb61cd7e155beab2f91dcb62135250bfc7b (diff)
Fixed sonar issue in Cloudify comp
Fixed Sonar reported vulnerability in HttpClientConectior java file Issue-ID: SO-981 Change-Id: I45d0bc74252330ccc828cd8cee4aabd59e581ca9 Signed-off-by: GOPINATH MATHIVANAN <gopinath.mathivanan@in.ibm.com>
Diffstat (limited to 'cloudify-client/src/main/java')
-rw-r--r--cloudify-client/src/main/java/org/onap/so/cloudify/connector/http/HttpClientConnector.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/cloudify-client/src/main/java/org/onap/so/cloudify/connector/http/HttpClientConnector.java b/cloudify-client/src/main/java/org/onap/so/cloudify/connector/http/HttpClientConnector.java
index a10945e855..6214cc5ef6 100644
--- a/cloudify-client/src/main/java/org/onap/so/cloudify/connector/http/HttpClientConnector.java
+++ b/cloudify-client/src/main/java/org/onap/so/cloudify/connector/http/HttpClientConnector.java
@@ -15,6 +15,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ * Modifications Copyright (C) 2018 IBM.
* ============LICENSE_END=========================================================
*/
@@ -64,8 +65,8 @@ import com.fasterxml.jackson.databind.SerializationFeature;
public class HttpClientConnector implements CloudifyClientConnector {
- public static ObjectMapper DEFAULT_MAPPER;
- public static ObjectMapper WRAPPED_MAPPER;
+ private static ObjectMapper DEFAULT_MAPPER;
+ private static ObjectMapper WRAPPED_MAPPER;
private static MsoLogger LOGGER = MsoLogger.getMsoLogger (MsoLogger.Catalog.RA, HttpClientConnector.class);