This block of commented-out lines of code should be removed
Sonar Link:
https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AWU41WgPwGn37JfbyHtV&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/resources/CambriaOutboundEventStream.java
Line No-L341 L356 L359
Change-Id: Ic7d570d6f9b5ad32608922123f642fe97a150a18
Issue-ID: DMAAP-798
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
}
});
- // if (null != dmaapContext && isTransactionEnabled()) {
+
if (null != dmaapContext && istransEnable && istransType) {
dmaapContext.getResponse().setHeader("transactionId",
if (null != strclose_out_stream)
close_out_stream = Boolean.parseBoolean(strclose_out_stream);
- // if (fSettings.getBoolean("close.output.stream", true)) {
+
if (close_out_stream) {
os.close();
- // }
+
}
}