From 01e80b505c8095c5c40290bb17cbbfcb39b05247 Mon Sep 17 00:00:00 2001 From: vasraz Date: Mon, 3 Aug 2020 16:26:49 +0100 Subject: Remove needless Getter/Setter testing Change-Id: I4802e15a57b01d520e875db295df2eb826b6b5c0 Signed-off-by: Vasyl Razinkov Issue-ID: SDC-2708 --- .../merge/instance/RelationMergeInfo.java | 37 ++++++---------------- 1 file changed, 10 insertions(+), 27 deletions(-) (limited to 'catalog-be/src/main/java') diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/merge/instance/RelationMergeInfo.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/merge/instance/RelationMergeInfo.java index fb814b54dd..4297aa82a2 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/merge/instance/RelationMergeInfo.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/merge/instance/RelationMergeInfo.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,34 +20,17 @@ package org.openecomp.sdc.be.components.merge.instance; +import lombok.AllArgsConstructor; +import lombok.Getter; import org.openecomp.sdc.be.model.RequirementCapabilityRelDef; +@Getter +@AllArgsConstructor public class RelationMergeInfo { - private String capReqType; - private String capOwnerName; - private RequirementCapabilityRelDef relDef; - private String capReqName; - public RelationMergeInfo(String capReqType, String capReqName, String capOwnerName, RequirementCapabilityRelDef relDef) { - this.capReqType = capReqType; - this.capReqName = capReqName; - this.capOwnerName = capOwnerName; - this.relDef = relDef; - } - - public String getCapReqType() { - return capReqType; - } - - public String getCapOwnerName() { - return capOwnerName; - } - public RequirementCapabilityRelDef getRelDef() { - return relDef; - } - - public String getCapReqName() { - return capReqName; - } + private final String capReqType; + private final String capReqName; + private final String capOwnerName; + private final RequirementCapabilityRelDef relDef; } -- cgit 1.2.3-korg