aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxu ran <xuranyjy@chinamobile.com>2020-04-01 12:15:07 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-01 12:15:07 +0000
commit546dd0b298f03ea268f0182ee500bb511f6596c2 (patch)
tree6602d2e39b3a72251e69455dcd385f159fdc63d6
parentfe19d19c1afd545985d8581aa8e12acd305e8e15 (diff)
parentf8b5ffe2d4ac113367b0dc9e1a474061edf27d63 (diff)
Merge "separate two statements from one line"
-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);