From f8b5ffe2d4ac113367b0dc9e1a474061edf27d63 Mon Sep 17 00:00:00 2001 From: Rupinder Date: Mon, 30 Mar 2020 18:24:35 +0530 Subject: separate two statements from one line Two statemenst were found in 1 line, one statement is allowed per line Issue-ID: USECASEUI-423 Change-Id: I8bf3a574e1cc5466d6ec6c7805b30cff78610e75 Signed-off-by: Rupinder --- .../onap/usecaseui/server/bean/lcm/ServiceTemplateInput.java | 10 ++++++++-- .../java/org/onap/usecaseui/server/bean/lcm/TemplateInput.java | 10 ++++++++-- .../org/onap/usecaseui/server/bean/lcm/VfNsPackageInfo.java | 10 ++++++++-- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/lcm/ServiceTemplateInput.java b/server/src/main/java/org/onap/usecaseui/server/bean/lcm/ServiceTemplateInput.java index 37399d97..be4bbc5a 100644 --- a/server/src/main/java/org/onap/usecaseui/server/bean/lcm/ServiceTemplateInput.java +++ b/server/src/main/java/org/onap/usecaseui/server/bean/lcm/ServiceTemplateInput.java @@ -131,8 +131,14 @@ public class ServiceTemplateInput { @Override public boolean equals(Object o) { - if (this == o) return true; - if (o == null || getClass() != o.getClass()) return false; + if (this == o) + { + return true; + } + if (o == null || getClass() != o.getClass()) + { + return false; + } ServiceTemplateInput that = (ServiceTemplateInput) o; return Objects.equals(invariantUUID, that.invariantUUID) && Objects.equals(uuid, that.uuid) && diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/lcm/TemplateInput.java b/server/src/main/java/org/onap/usecaseui/server/bean/lcm/TemplateInput.java index 0fff46ce..a1ca3fec 100644 --- a/server/src/main/java/org/onap/usecaseui/server/bean/lcm/TemplateInput.java +++ b/server/src/main/java/org/onap/usecaseui/server/bean/lcm/TemplateInput.java @@ -65,8 +65,14 @@ public class TemplateInput { @Override public boolean equals(Object o) { - if (this == o) return true; - if (o == null || getClass() != o.getClass()) return false; + if (this == o) + { + return true; + } + if (o == null || getClass() != o.getClass()) + { + return false; + } TemplateInput that = (TemplateInput) o; return Objects.equals(name, that.name) && Objects.equals(type, that.type) && diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/lcm/VfNsPackageInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/lcm/VfNsPackageInfo.java index 1c41ca96..7f5d434f 100644 --- a/server/src/main/java/org/onap/usecaseui/server/bean/lcm/VfNsPackageInfo.java +++ b/server/src/main/java/org/onap/usecaseui/server/bean/lcm/VfNsPackageInfo.java @@ -42,8 +42,14 @@ public class VfNsPackageInfo { @Override public boolean equals(Object o) { - if (this == o) return true; - if (o == null || getClass() != o.getClass()) return false; + if (this == o) + { + return true; + } + if (o == null || getClass() != o.getClass()) + { + return false; + } VfNsPackageInfo that = (VfNsPackageInfo) o; return Objects.equals(nsPackage, that.nsPackage) && Objects.equals(vnfPackages, that.vnfPackages); -- cgit 1.2.3-korg