Merge "sonar critical for Exception Handling"
authorvarun gudisena <vg411h@att.com>
Wed, 31 Jan 2018 02:11:15 +0000 (02:11 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 31 Jan 2018 02:11:15 +0000 (02:11 +0000)
src/main/java/com/att/nsa/dmaap/service/MMRestService.java

index 74e0399..206e719 100644 (file)
@@ -825,7 +825,6 @@ public class MMRestService {
                                                        inStream = IOUtils.toInputStream(listAll.toString(), UTF_8);
 
                                                } catch (IOException ioe) {
-                                                       ioe.printStackTrace();
                                                        LOGGER.error("IOException: ", ioe);
                                                }
                                                // call listAllMirrorMaker
@@ -1005,7 +1004,6 @@ public class MMRestService {
                                                        inStream = IOUtils.toInputStream(listAll.toString(), UTF_8);
 
                                                } catch (IOException ioe) {
-                                                       ioe.printStackTrace();
                                                        LOGGER.error("IOException: ", ioe);
                                                }
                                                // call listAllMirrorMaker