From 088c12cbb8e0b1a0916860b9879effb61d0ea66d Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Wed, 9 Jan 2019 11:29:05 +0530 Subject: fixed sonar issue in AAIRequest.java fixed sonar issue Issue-ID: CCSDK-525 Change-Id: I5de829cadb185a47fae62e0cef3f15dde9a90da2 Signed-off-by: Sandeep J --- .../src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'aai-service/provider/src/main') 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 splitQuery(String query) throws UnsupportedEncodingException { -- cgit 1.2.3-korg