Sonar major issues 29/59829/1
authorSurendra Reddy Katam <SK00524980@techmahindra.com>
Thu, 9 Aug 2018 09:58:02 +0000 (15:28 +0530)
committerSurendra Reddy Katam <SK00524980@techmahindra.com>
Thu, 9 Aug 2018 09:58:02 +0000 (15:28 +0530)
 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.dmaapclient%3AdmaapClient&open=AWQDL3zlwGn37Jfbsse6&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/nsa/mr/client/MRClientFactory.java
Line No-525

Change-Id: I1a80b95e4606acdfa62e529aef7c41578a42792e
Issue-ID: DMAAP-525
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
src/main/java/com/att/nsa/mr/client/MRClientFactory.java

index f237776..97aa0b8 100644 (file)
@@ -522,7 +522,6 @@ public class MRClientFactory {
                                routeWriter = new FileWriter(new File(routeFilePath));
                        }
                }
-               // pub.setContentType(contentType);
                return pub;
        }