This is a program that reads information site for previous format it uses recursion and executor.It works fine,my problem is to test whether the program is completed and suc
You can't submit any new tasks after you shutdown the ExecutorService, the recursion seems to stop after you've processed all the levels (you don't submit any new tasks after that), you can do something like this:
if (level > levels.length - 1) {
executor.shutdown();
return;
}