Removal of useless parenthesis
authorSRINIVAS V <srinivasa.mohan@huawei.com>
Thu, 28 Dec 2017 06:53:54 +0000 (12:23 +0530)
committerSRINIVAS V <srinivasa.mohan@huawei.com>
Thu, 28 Dec 2017 06:57:45 +0000 (12:27 +0530)
Change-Id: I27289de2837414d45efcdd3f617d2b399a8f8ac6
Issue-ID: CCSDK-151
Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebCallback.java

index 39ed396..0db96f5 100644 (file)
@@ -845,15 +845,15 @@ public class SdncUebCallback implements INotificationCallback {
 
                     LOG.error("Unexpected file contents - root tag is "+rootName);
                 }
-                               return(mapEntry);
+                               return mapEntry;
             } else {
                 LOG.error("Cannot get root tag from file");
-                               return(null);
+                               return null;
             }
 
         } catch (Exception e) {
             LOG.error("Could not parse YANG_XML file "+spoolFile.getName(), e);
-                       return(null);
+                       return null;
         }
     }
 
@@ -922,7 +922,7 @@ public class SdncUebCallback implements INotificationCallback {
             }
         } catch (Exception e) {
             LOG.error("Could not process spool file "+artifact.getFile().getName(), e);
-                       return(DistributionStatusEnum.DEPLOY_ERROR);
+                       return DistributionStatusEnum.DEPLOY_ERROR;
         }
 
         msgBuffer.append("</input>\n");
@@ -966,7 +966,7 @@ public class SdncUebCallback implements INotificationCallback {
 
 
 
-               return(deployResult);
+               return deployResult;
     }
 
 
@@ -977,7 +977,7 @@ public class SdncUebCallback implements INotificationCallback {
             final IDistributionClient client, final INotificationData data,
             final IArtifactInfo relevantArtifact,
             final DistributionStatusEnum status) {
-        IDistributionStatusMessage statusMessage = new IDistributionStatusMessage() {
+            IDistributionStatusMessage statusMessage = new IDistributionStatusMessage() {
 
             @Override
                        public long getTimestamp() {