summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSwapnali Pode <SP00501638@techmahindra.com>2018-02-01 11:37:59 +0530
committerSwapnali Pode <SP00501638@techmahindra.com>2018-02-01 11:38:31 +0530
commitd5b197fa4b9d1cbf3cf6c02499f422ef18d40809 (patch)
tree94530e5d68f361b4d5faffb37a2bae11c7296980 /src
parent9786800df5f529df155ddf9bf3a3aabfab2cba81 (diff)
Sonar Major
Remove this useless assignment to local variable result RestClientProducer.java:L90 Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.router-core%3Arouter-core#severities=MAJOR|resolved=false Location: src/main/java/org/onap/aai/rest/RestClientProducer.java Change-Id: I53c3e36ea43736e8752a23be3211fc1c49e0537a Issue-ID: AAI-720 Signed-off-by: Swapnali Pode <SP00501638@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/onap/aai/rest/RestClientProducer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/aai/rest/RestClientProducer.java b/src/main/java/org/onap/aai/rest/RestClientProducer.java
index 579315d..c4cfce8 100644
--- a/src/main/java/org/onap/aai/rest/RestClientProducer.java
+++ b/src/main/java/org/onap/aai/rest/RestClientProducer.java
@@ -87,7 +87,7 @@ public class RestClientProducer extends DefaultProducer {
}
// Now, invoke the REST client to perform the operation.
- OperationResult result = null;
+ OperationResult result;
switch (getOperation(exchange)) {
case GET: