Updated checkstyle errors.

This commit is contained in:
Chandana Amarnath
2016-11-20 23:36:23 +05:30
parent 52a81eb368
commit d6b5456f98
4 changed files with 22 additions and 23 deletions

View File

@@ -71,17 +71,17 @@ public class App {
LOGGER.info("All the TaskGenerators started."); LOGGER.info("All the TaskGenerators started.");
// Create three TaskGenerator threads. Each of them will submit different number of jobs. // Create three TaskGenerator threads. Each of them will submit different number of jobs.
Runnable taskRunnable_1 = new TaskGenerator(msgQueue, 5); Runnable taskRunnable1 = new TaskGenerator(msgQueue, 5);
Runnable taskRunnable_2 = new TaskGenerator(msgQueue, 1); Runnable taskRunnable2 = new TaskGenerator(msgQueue, 1);
Runnable taskRunnable_3 = new TaskGenerator(msgQueue, 2); Runnable taskRunnable3 = new TaskGenerator(msgQueue, 2);
Thread taskGenerator_1 = new Thread(taskRunnable_1, "Task_Generator_1"); Thread taskGenerator1 = new Thread(taskRunnable1, "Task_Generator_1");
Thread taskGenerator_2 = new Thread(taskRunnable_2, "Task_Generator_2"); Thread taskGenerator2 = new Thread(taskRunnable2, "Task_Generator_2");
Thread taskGenerator_3 = new Thread(taskRunnable_3, "Task_Generator_3"); Thread taskGenerator3 = new Thread(taskRunnable3, "Task_Generator_3");
taskGenerator_1.start(); taskGenerator1.start();
taskGenerator_2.start(); taskGenerator2.start();
taskGenerator_3.start(); taskGenerator3.start();
LOGGER.info("Service Executor started."); LOGGER.info("Service Executor started.");

View File

@@ -48,7 +48,6 @@ public class MessageQueue {
/** /**
* All the TaskGenerator threads will call this method to insert the * All the TaskGenerator threads will call this method to insert the
* Messages in to the Blocking Queue. * Messages in to the Blocking Queue.
* @param msg
*/ */
public void submitMsg(Message msg) { public void submitMsg(Message msg) {
try { try {