remove unnecessary WaitingTaskProcessor

This commit is contained in:
Peter Hormanns 2013-03-07 12:23:33 +01:00
parent 16134613b4
commit 0e82cbe2ca

View File

@ -27,7 +27,7 @@ public class PacProcessorFactory implements EntityProcessorFactory {
Hive hive = pac.getHive();
UnixUser unixUser = getPacAdminUser(pac);
String password = PasswordTool.generatePassword();
Processor priProcessor = new CompoundProcessor(
Processor processor = new CompoundProcessor(
createAddUserProc(pacName, unixUser, password),
createSetQuotaProc(pac),
createEtcHostsProc(hive),
@ -39,8 +39,7 @@ public class PacProcessorFactory implements EntityProcessorFactory {
createIfUp(pacName),
createHttpdVirtualProc(hive),
createAccountingRulesProc());
WaitingTasksProcessor secProcessor = new WaitingTasksProcessor(priProcessor);
return secProcessor;
return processor;
}
private Processor createAccountingRulesProc() {