Fixed sonar issue in NameGenResponse 46/73046/1
authorezhil <ezhrajam@in.ibm.com>
Mon, 19 Nov 2018 15:30:52 +0000 (21:00 +0530)
committerezhil <ezhrajam@in.ibm.com>
Mon, 19 Nov 2018 15:32:10 +0000 (21:02 +0530)
Made variable private for the class
Issue-ID: CCSDK-732
Change-Id: Idc7e8cceab09a8f01516a0b5d0953a7f113a3145
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/resource/model/NameGenResponse.java

index c4ac7fc..35da40c 100644 (file)
@@ -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;