diff options
author | xu ran <xuranyjy@chinamobile.com> | 2020-04-01 12:15:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-04-01 12:15:07 +0000 |
commit | 546dd0b298f03ea268f0182ee500bb511f6596c2 (patch) | |
tree | 6602d2e39b3a72251e69455dcd385f159fdc63d6 | |
parent | fe19d19c1afd545985d8581aa8e12acd305e8e15 (diff) | |
parent | f8b5ffe2d4ac113367b0dc9e1a474061edf27d63 (diff) |
Merge "separate two statements from one line"
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); |