From: Sandeep J Date: Wed, 5 Dec 2018 10:16:46 +0000 (+0530) Subject: fixed sonar issues in AAFResonse.java X-Git-Tag: 2.5.8~79^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F47%2F74247%2F1;p=music.git 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 --- 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; }