aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRam Koya <rk541m@att.com>2018-08-20 18:12:13 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-20 18:12:13 +0000
commit9a1862c3f847ca4ba21212cef9b472950e96bbc0 (patch)
tree441d0ebf47acb78c992e604433f85c7e53e903aa /src
parentb082588d2a46547ecda1af09127cf7655e436481 (diff)
parentf4ed2e3730ec5c03e2ab9d3ba5b96d4169760344 (diff)
Merge "Sonar major issues"
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/att/nsa/mr/test/clients/SampleConsumer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/att/nsa/mr/test/clients/SampleConsumer.java b/src/main/java/com/att/nsa/mr/test/clients/SampleConsumer.java
index 56c8a4a..44e5205 100644
--- a/src/main/java/com/att/nsa/mr/test/clients/SampleConsumer.java
+++ b/src/main/java/com/att/nsa/mr/test/clients/SampleConsumer.java
@@ -41,7 +41,7 @@ public class SampleConsumer {
final String topic = "com.att.app.dmaap.mr.testingTopic";
final String url = ( args.length > 1 ? args[1] : "localhost:8181" );
final String group = ( args.length > 2 ? args[2] :"grp" );
- /*final String id = ( args.length > 3 ? args[3] : "0" );*/
+
final String id = ( args.length > 3 ? args[3] : "1" );
long count = 0;
@@ -49,7 +49,7 @@ public class SampleConsumer {
final long startMs = System.currentTimeMillis ();
- final LinkedList<String> urlList = new LinkedList<String> ();
+ final LinkedList<String> urlList = new LinkedList<> ();
for ( String u : url.split ( "," ) )
{
urlList.add ( u );