Sonar major issues 19/60219/1
authorSurendra Reddy Katam <SK00524980@techmahindra.com>
Mon, 13 Aug 2018 07:27:46 +0000 (12:57 +0530)
committerSurendra Reddy Katam <SK00524980@techmahindra.com>
Mon, 13 Aug 2018 07:27:46 +0000 (12:57 +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=AWFBqtmH-08if2a6yPKL&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java
Line No-738

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

index 63d2271..4400045 100644 (file)
@@ -730,10 +730,6 @@ public class MRSimplerBatchPublisher extends MRBaseClient implements MRBatchingP
        private void DME2Configue() throws Exception {
                try {
 
-                       /*
-                        * FileReader reader = new FileReader(new File (producerFilePath));
-                        * Properties props = new Properties(); props.load(reader);
-                        */
                        latitude = props.getProperty("Latitude");
                        longitude = props.getProperty("Longitude");
                        version = props.getProperty("Version");