summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSRINIVAS V <srinivasa.mohan@huawei.com>2017-12-28 12:23:54 +0530
committerSRINIVAS V <srinivasa.mohan@huawei.com>2017-12-28 12:27:45 +0530
commitae93ec85ad6ee1a926309770bcf4b2d1607e420c (patch)
tree79c0d551f85a861c2bbf9e2ac84488b56e24c957
parent971018eab9fa64d1c408b84d3d9d8f70b95eec32 (diff)
Removal of useless parenthesis
Change-Id: I27289de2837414d45efcdd3f617d2b399a8f8ac6 Issue-ID: CCSDK-151 Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
-rw-r--r--ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebCallback.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebCallback.java b/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebCallback.java
index 39ed39676..0db96f54b 100644
--- a/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebCallback.java
+++ b/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebCallback.java
@@ -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() {