Fix PMD violations #327
This commit is contained in:
@ -65,6 +65,7 @@ public class App {
|
||||
// All tasks were executed, now shutdown
|
||||
executor.shutdown();
|
||||
while (!executor.isTerminated()) {
|
||||
Thread.yield();
|
||||
}
|
||||
System.out.println("Program finished");
|
||||
}
|
||||
|
@ -2,8 +2,6 @@ package com.iluwatar.threadpool;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import com.iluwatar.threadpool.App;
|
||||
|
||||
/**
|
||||
* Application test
|
||||
*
|
||||
|
Reference in New Issue
Block a user