summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-12-11 18:06:01 +0530
committerSandeep J <sandeejh@in.ibm.com>2018-12-11 18:06:09 +0530
commit24dda59fbd5a395dd102cceb1be23006cc505876 (patch)
tree69c55b086eb904546c68446eb34573e168cf6dd5
parent02f6311c1233b7473dd2fa0345b301cf5e0885ad (diff)
fixed sonar issue in AssignVlanTagResponse
fixed sonar issues Issue-ID: CCSDK-552 Change-Id: Ie1960d68e28426ea62565e48916b85f41059d77a Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
-rw-r--r--ms/vlantag-api/src/main/java/org/onap/ccsdk/apps/ms/vlantagapi/core/model/AssignVlanTagResponse.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/ms/vlantag-api/src/main/java/org/onap/ccsdk/apps/ms/vlantagapi/core/model/AssignVlanTagResponse.java b/ms/vlantag-api/src/main/java/org/onap/ccsdk/apps/ms/vlantagapi/core/model/AssignVlanTagResponse.java
index 5b5ea5c4..e830d5cf 100644
--- a/ms/vlantag-api/src/main/java/org/onap/ccsdk/apps/ms/vlantagapi/core/model/AssignVlanTagResponse.java
+++ b/ms/vlantag-api/src/main/java/org/onap/ccsdk/apps/ms/vlantagapi/core/model/AssignVlanTagResponse.java
@@ -1,5 +1,6 @@
/*******************************************************************************
* Copyright © 2017-2018 AT&T Intellectual Property.
+ * Modifications Copyright © 2018 IBM.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,11 +34,13 @@ import io.swagger.annotations.ApiModelProperty;
*/
public class AssignVlanTagResponse {
- private @Valid List<AssignVlanTagResponseOutput> output = new ArrayList<AssignVlanTagResponseOutput>();
+ private @Valid List<AssignVlanTagResponseOutput> output = new ArrayList<>();
private @Valid Integer errorCode = null;
private @Valid String errorMessage = null;
- public AssignVlanTagResponse() {}
+ public AssignVlanTagResponse() {
+ // this method does nothing
+ }
/**
**/