aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2019-01-09 11:29:05 +0530
committerSandeep J <sandeejh@in.ibm.com>2019-01-09 11:29:17 +0530
commit088c12cbb8e0b1a0916860b9879effb61d0ea66d (patch)
tree210e35deeda825b2033e5911545ec0fc39838540
parent75da5d3681c44326e4766ce9e3a110f11ee108d4 (diff)
fixed sonar issue in AAIRequest.java
fixed sonar issue Issue-ID: CCSDK-525 Change-Id: I5de829cadb185a47fae62e0cef3f15dde9a90da2 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
-rwxr-xr-xaai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java
index 82df6981..c66ae06f 100755
--- a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java
+++ b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java
@@ -433,8 +433,7 @@ public abstract class AAIRequest {
if(clazz == null) {
return null;
}
- GenericRequest request = new GenericRequest(clazz);
- return request;
+ return new GenericRequest(clazz);
}
public static Map<String, String> splitQuery(String query) throws UnsupportedEncodingException {