From 300dfeff13b3535f1c2fbfc68ab74e2e690b504f Mon Sep 17 00:00:00 2001 From: Hesam Rahimi Date: Fri, 11 Jun 2021 20:42:23 +0000 Subject: Deleting an extra loop which causes exponentially repeating of some operations. Issue-ID: CCSDK-3336 Signed-off-by: Hesam Rahimi Change-Id: I6501c22c2e89c451a6f9d6de62d4f802df471050 --- .../main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'adaptors/aai-service/provider/src/main/java/org') diff --git a/adaptors/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java b/adaptors/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java index 6765e152b..ef823a690 100755 --- a/adaptors/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java +++ b/adaptors/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java @@ -915,9 +915,7 @@ public abstract class AAIDeclarations implements AAIClient { if(value instanceof ArrayList) { ArrayList array = ArrayList.class.cast(value); - for(int i = 0; i < array.size(); i++) { - writeList(array, String.format("%s.%s", prefix, theKey), ctx); - } + writeList(array, String.format("%s.%s", prefix, theKey), ctx); continue; } -- cgit 1.2.3-korg