diff options
author | Hesam Rahimi <hesam.rahimi@huawei.com> | 2021-06-11 20:42:23 +0000 |
---|---|---|
committer | Hesam Rahimi <hesam.rahimi@huawei.com> | 2021-06-11 20:45:56 +0000 |
commit | 300dfeff13b3535f1c2fbfc68ab74e2e690b504f (patch) | |
tree | 19a20ddb9ecf8047e4b90f701f6da711e9958eb5 /adaptors/aai-service | |
parent | e56a326a03d4b37808aca7169981e8a57d4ec0e9 (diff) |
Deleting an extra loop which causes exponentially repeating of some operations.
Issue-ID: CCSDK-3336
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
Change-Id: I6501c22c2e89c451a6f9d6de62d4f802df471050
Diffstat (limited to 'adaptors/aai-service')
-rwxr-xr-x | adaptors/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |