From 4da3a61a9e072fd6a2ae30ba963958ad5209669d Mon Sep 17 00:00:00 2001 From: avigaffa Date: Wed, 5 Jun 2019 13:13:44 +0300 Subject: Add lombok support to simple classes Change-Id: Ibaa1711ff6b2a64e6e591f0938874e31f713bfe8 Issue-ID: SDC-2354 Signed-off-by: avigaffa --- .../sdcrests/action/types/ActionVersionDto.java | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp') diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ActionVersionDto.java b/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ActionVersionDto.java index 0632cabaa1..2925fe106b 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ActionVersionDto.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ActionVersionDto.java @@ -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. @@ -20,16 +20,13 @@ package org.openecomp.sdcrests.action.types; -public class ActionVersionDto { - - String status; +import lombok.Getter; +import lombok.Setter; - public String getStatus() { - return status; - } +@Getter +@Setter +public class ActionVersionDto { - public void setStatus(String workflowActionStatus) { - this.status = workflowActionStatus.trim(); - } + String status; } -- cgit 1.2.3-korg