diff options
author | 2020-04-01 15:41:21 +0530 | |
---|---|---|
committer | 2020-04-01 15:41:31 +0530 | |
commit | 59a60f43fe558951089be159c1111a5231defe57 (patch) | |
tree | 732a27e6bf0977d7706c07c8b6cc4aa1ca106c09 /src/main/java/org/onap/dmaap/dmf/mr/resources | |
parent | b3354b73e2de1579adb346ff1f10966585f3aeab (diff) |
removed code smells
Removed some unused imports and two statements from one line
Issue-ID: DMAAP-1415
Change-Id: I2802078fc8063a65de748d2399710f97c9adee8e
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
Diffstat (limited to 'src/main/java/org/onap/dmaap/dmf/mr/resources')
-rw-r--r-- | src/main/java/org/onap/dmaap/dmf/mr/resources/streamReaders/CambriaTextStreamReader.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/org/onap/dmaap/dmf/mr/resources/streamReaders/CambriaTextStreamReader.java b/src/main/java/org/onap/dmaap/dmf/mr/resources/streamReaders/CambriaTextStreamReader.java index 67a31bb..bf9e544 100644 --- a/src/main/java/org/onap/dmaap/dmf/mr/resources/streamReaders/CambriaTextStreamReader.java +++ b/src/main/java/org/onap/dmaap/dmf/mr/resources/streamReaders/CambriaTextStreamReader.java @@ -66,8 +66,10 @@ public class CambriaTextStreamReader implements reader try { final String line = fReader.readLine (); - if ( line == null ) return null; - + if ( line == null ) { + return null; + } + return new message () { private LogDetails logDetails; |