separate two statements from one line 86/104686/1
authorRupinder <rupinsi1@in.ibm.com>
Mon, 30 Mar 2020 12:54:35 +0000 (18:24 +0530)
committerRupinder <rupinsi1@in.ibm.com>
Mon, 30 Mar 2020 12:54:40 +0000 (18:24 +0530)
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>
server/src/main/java/org/onap/usecaseui/server/bean/lcm/ServiceTemplateInput.java
server/src/main/java/org/onap/usecaseui/server/bean/lcm/TemplateInput.java
server/src/main/java/org/onap/usecaseui/server/bean/lcm/VfNsPackageInfo.java

index 37399d9..be4bbc5 100644 (file)
@@ -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) &&
index 0fff46c..a1ca3fe 100644 (file)
@@ -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) &&
index 1c41ca9..7f5d434 100644 (file)
@@ -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);