aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRupinder <rupinsi1@in.ibm.com>2020-03-30 18:24:35 +0530
committerRupinder <rupinsi1@in.ibm.com>2020-03-30 18:24:40 +0530
commitf8b5ffe2d4ac113367b0dc9e1a474061edf27d63 (patch)
tree82ac593a5ae907d81097c593020950a5e3206237
parentc475ee877a7cd26b9da938ee2ea3eb6f3cdb2a5e (diff)
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<rupinsi1@in.ibm.com>
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/bean/lcm/ServiceTemplateInput.java10
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/bean/lcm/TemplateInput.java10
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/bean/lcm/VfNsPackageInfo.java10
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);