diff options
author | Sumapriya Sarvepalli <ss00493505@techmahindra.com> | 2018-09-10 12:34:54 +0530 |
---|---|---|
committer | Sumapriya Sarvepalli <ss00493505@techmahindra.com> | 2018-09-10 12:34:54 +0530 |
commit | 7c81daeacfeb6dc44e22c97eca36313aa7ddb555 (patch) | |
tree | 94ccb3bd427be88668eac13fb2bf5e57b2f533eb | |
parent | 4482915cb339579c2680ea1991b8680e89d521c1 (diff) |
Sonar major issues
This block of commented-out lines of code should be removed
Sonar Link:
https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-VagH32hFUzlqc5r8&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/metrics/publisher/DMaaPCambriaClientFactory.java
Line No:L392 L412
Change-Id: Ifa4f01adbcb59f31d3a332b8137fb56b3faa551f
Issue-ID: DMAAP-754
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
-rw-r--r-- | src/main/java/com/att/dmf/mr/metrics/publisher/DMaaPCambriaClientFactory.java | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/main/java/com/att/dmf/mr/metrics/publisher/DMaaPCambriaClientFactory.java b/src/main/java/com/att/dmf/mr/metrics/publisher/DMaaPCambriaClientFactory.java index d02438f..9158c96 100644 --- a/src/main/java/com/att/dmf/mr/metrics/publisher/DMaaPCambriaClientFactory.java +++ b/src/main/java/com/att/dmf/mr/metrics/publisher/DMaaPCambriaClientFactory.java @@ -386,12 +386,7 @@ public class DMaaPCambriaClientFactory { * Your API secret * @return an identity manager */ - /* - * public static CambriaIdentityManager createIdentityManager ( - * Collection<String> hostSet, String apiKey, String apiSecret ) { final - * CambriaIdentityManager cim = new CambriaMetaClient ( hostSet ); - * cim.setApiCredentials ( apiKey, apiSecret ); return cim; } - */ + /** * Create a topic manager for working with topics. @@ -405,12 +400,7 @@ public class DMaaPCambriaClientFactory { * Your API secret * @return a topic manager */ - /* - * public static CambriaTopicManager createTopicManager ( Collection<String> - * hostSet, String apiKey, String apiSecret ) { final CambriaMetaClient tmi - * = new CambriaMetaClient ( hostSet ); tmi.setApiCredentials ( apiKey, - * apiSecret ); return tmi; } - */ + /** * Inject a consumer. Used to support unit tests. |