summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot1 <srinivasa.mohan@huawei.com>2017-12-19 20:28:25 +0530
committerSRINIVAS V <srinivasa.mohan@huawei.com>2017-12-21 09:23:08 +0000
commit613f3941a43afa5347c5df6e6e764869d0475973 (patch)
tree684888620019c8fb84531ae02f4f6d8fc82cba09
parentac68c31943b5a93c1a9e0d7e64d24455d9eb97e6 (diff)
Removal of useless parenthesis
Change-Id: I6ef27a2795e91948b996055decffc051373d6113 Issue-ID: CCSDK-151 Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
-rw-r--r--dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncFlatJsonDmaapConsumer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncFlatJsonDmaapConsumer.java b/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncFlatJsonDmaapConsumer.java
index 1d499a1e7..231fa0e4f 100644
--- a/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncFlatJsonDmaapConsumer.java
+++ b/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncFlatJsonDmaapConsumer.java
@@ -140,7 +140,7 @@ public class SdncFlatJsonDmaapConsumer extends SdncDmaapConsumer {
if (!mapFile.canRead()) {
LOG.error(String.format("Cannot read map file (%s)", mapFilename));
- return (null);
+ return null;
}
try (BufferedReader mapReader = new BufferedReader(new FileReader(mapFile))) {
@@ -160,9 +160,9 @@ public class SdncFlatJsonDmaapConsumer extends SdncDmaapConsumer {
mapReader.close();
} catch (Exception e) {
LOG.error("Caught exception reading map " + mapFilename, e);
- return (null);
+ return null;
}
- return (results);
+ return results;
}
}