Add lombok support to simple classes 65/89365/2
authoravigaffa <avi.gaffa@amdocs.com>
Wed, 5 Jun 2019 12:26:51 +0000 (15:26 +0300)
committerOren Kleks <orenkle@amdocs.com>
Wed, 5 Jun 2019 14:05:20 +0000 (14:05 +0000)
Change-Id: I2d1a7d63e7f80aa766ac71df9c808dcda35d68e3
Issue-ID: SDC-2354
Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
openecomp-be/api/openecomp-sdc-rest-webapp/application-config-rest/application-config-rest-types/pom.xml
openecomp-be/api/openecomp-sdc-rest-webapp/application-config-rest/application-config-rest-types/src/main/java/org/openecomp/sdcrests/applicationconfiguration/types/ApplicationConfigDto.java

index f827044..6b952ad 100644 (file)
         <version>1.5.0-SNAPSHOT</version>
     </parent>
 
+    <dependencies>
+        <dependency>
+            <groupId>org.projectlombok</groupId>
+            <artifactId>lombok</artifactId>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
 </project>
index 787a191..63834a3 100644 (file)
@@ -7,9 +7,9 @@
  * 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
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
 package org.openecomp.sdcrests.applicationconfiguration.types;
 
+import lombok.Getter;
+import lombok.Setter;
+
 /**
  * Created by Talio on 8/10/2016.
  */
+@Getter
+@Setter
 public class ApplicationConfigDto {
 
-  private String key;
-  private String value;
-
-  public String getKey() {
-    return key;
-  }
-
-  public void setKey(String key) {
-    this.key = key;
-  }
-
-  public String getValue() {
-    return value;
-  }
+    private String key;
+    private String value;
 
-  public void setValue(String value) {
-    this.value = value;
-  }
 }