summaryrefslogtreecommitdiffstats
path: root/aai-service/provider/src/main
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-01-30 15:01:10 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-30 15:01:10 +0000
commit6d707150eb7a5c5fbcd3d400b8f478cb72c77674 (patch)
tree9b35cdd08108da539f2ba9803147e6b8f9f0df62 /aai-service/provider/src/main
parentdb5f6d749084c4114a0e72ba20cc18b073da3584 (diff)
parent94b2598b128f37c75b2faf6fba1dffe25d4586fd (diff)
Merge "Sonar Fix: EchoRequest.java"
Diffstat (limited to 'aai-service/provider/src/main')
-rw-r--r--aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/EchoRequest.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/EchoRequest.java b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/EchoRequest.java
index fb234505..6011858d 100644
--- a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/EchoRequest.java
+++ b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/EchoRequest.java
@@ -4,6 +4,7 @@
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights
* reserved.
+ * Modifications Copyright (C) 2018 IBM.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -67,14 +68,14 @@ public class EchoRequest extends AAIRequest {
public String toJSONString() {
ObjectMapper mapper = getObjectMapper();
EchoResponse tenant = (EchoResponse)requestDatum;
- String json_text = null;
+ String jsonText = null;
try {
- json_text = mapper.writeValueAsString(tenant);
+ jsonText = mapper.writeValueAsString(tenant);
} catch (JsonProcessingException exc) {
handleException(this, exc);
return null;
}
- return json_text;
+ return jsonText;
}