aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-12-05 15:46:46 +0530
committerSandeep J <sandeejh@in.ibm.com>2018-12-05 15:46:56 +0530
commite94bcbb7ef713c6934b885dd5949dcd02965480b (patch)
treee9f54f6cb74a4638c8d07844f1109bcb17e1c8c4 /src/main
parent3fd10b5926445dffe0c95bf96645c6d14cb0ccf2 (diff)
fixed sonar issues in AAFResonse.java
changed return type to "List" rather than the implementation "ArrayList" Issue-ID: MUSIC-182 Change-Id: I1c75a5aaa7401a1a02c3680304924fe459c13aa6 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/music/datastore/jsonobjects/AAFResponse.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/main/java/org/onap/music/datastore/jsonobjects/AAFResponse.java b/src/main/java/org/onap/music/datastore/jsonobjects/AAFResponse.java
index df6089ee..b0f41311 100644
--- a/src/main/java/org/onap/music/datastore/jsonobjects/AAFResponse.java
+++ b/src/main/java/org/onap/music/datastore/jsonobjects/AAFResponse.java
@@ -2,7 +2,9 @@
* ============LICENSE_START==========================================
* org.onap.music
* ===================================================================
- * Copyright (c) 2017 AT&T Intellectual Property
+ * Copyright (c) 2017 AT&T Intellectual Property
+ * ===================================================================
+ * Modifications Copyright (c) 2018 IBM
* ===================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -21,21 +23,22 @@
*/
package org.onap.music.datastore.jsonobjects;
-import java.util.ArrayList;
+import java.util.List;
+
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel(value = "JsonTable", description = "Reponse class for AAF request")
public class AAFResponse {
- private ArrayList<NameSpace> ns = null;
+ private List<NameSpace> ns = null;
@ApiModelProperty(value = "Namespace value")
- public ArrayList<NameSpace> getNs() {
+ public List<NameSpace> getNs() {
return ns;
}
- public void setNs(ArrayList<NameSpace> ns) {
+ public void setNs(List<NameSpace> ns) {
this.ns = ns;
}