summaryrefslogtreecommitdiffstats
path: root/ms
diff options
context:
space:
mode:
authorezhil <ezhrajam@in.ibm.com>2018-11-19 21:00:52 +0530
committerezhil <ezhrajam@in.ibm.com>2018-11-19 21:02:10 +0530
commit46e3fce4b1c84a10628242d12d10249d84a466ed (patch)
tree60dfc87aeffeaa4f00f9dc245e0728dc778429de /ms
parent009719f00f0ad2c5856d20a9c0acb71937ccc06c (diff)
Fixed sonar issue in NameGenResponse
Made variable private for the class Issue-ID: CCSDK-732 Change-Id: Idc7e8cceab09a8f01516a0b5d0953a7f113a3145 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
Diffstat (limited to 'ms')
-rw-r--r--ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/resource/model/NameGenResponse.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/resource/model/NameGenResponse.java b/ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/resource/model/NameGenResponse.java
index c4ac7fcb..35da40c2 100644
--- a/ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/resource/model/NameGenResponse.java
+++ b/ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/resource/model/NameGenResponse.java
@@ -4,6 +4,8 @@
* ================================================================================
* Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * 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.
* You may obtain a copy of the License at
@@ -29,7 +31,7 @@ import java.util.Map;
*/
public class NameGenResponse implements Serializable {
private static final long serialVersionUID = -8039686696076337053L;
- List<Map<String, String>> elements;
+ private static List<Map<String, String>> elements;
public List<Map<String, String>> getElements() {
return elements;