sonar critical for Exception handling 67/25867/1
authorSoumendu Sekhar Acharya <sa00498080@techmahindra.com>
Fri, 8 Dec 2017 10:37:31 +0000 (16:07 +0530)
committerSoumendu Sekhar Acharya <sa00498080@techmahindra.com>
Fri, 8 Dec 2017 10:37:56 +0000 (16:07 +0530)
Removed printStackTrace
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1#severities=CRITICAL|assignees=soumendu
Location:
src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Line No-423

Change-Id: I4f72501f3a01764e4a2769649e3ceaed039134dc
Issue-ID: DMAAP-182
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
src/main/java/com/att/nsa/dmaap/service/MMRestService.java

index 3b638b9..8c3f70b 100644 (file)
@@ -418,7 +418,6 @@ public class MMRestService {
                                                inStream = IOUtils.toInputStream(jsonOb.toString(), UTF_8);
 
                                        } catch (IOException ioe) {
-                                               ioe.printStackTrace();
                                                LOGGER.error("IOException: ", ioe);
                                        }