summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-12-21 14:24:19 +0000
committerGerrit Code Review <gerrit@onap.org>2017-12-21 14:24:19 +0000
commit45321147b92ec556a4d41024dea0811fa6d8e40a (patch)
treeed372f636d45e4606bab79ed4b9e0046bf4aa028
parent263950413073f5d1d7af3d2854052af8ec41d281 (diff)
parent613f3941a43afa5347c5df6e6e764869d0475973 (diff)
Merge "Removal of useless parenthesis"
-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 ce65e783..06e8ebe9 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
@@ -142,7 +142,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))) {
@@ -162,9 +162,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;
}
}