From e94bcbb7ef713c6934b885dd5949dcd02965480b Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Wed, 5 Dec 2018 15:46:46 +0530 Subject: 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 --- .../org/onap/music/datastore/jsonobjects/AAFResponse.java | 13 ++++++++----- 1 file 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 ns = null; + private List ns = null; @ApiModelProperty(value = "Namespace value") - public ArrayList getNs() { + public List getNs() { return ns; } - public void setNs(ArrayList ns) { + public void setNs(List ns) { this.ns = ns; } -- cgit 1.2.3-korg