From 0e82cbe2ca8202ce0b1353a4a140a8527c7c4c64 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Thu, 7 Mar 2013 12:23:33 +0100 Subject: [PATCH] remove unnecessary WaitingTaskProcessor --- hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java index cc1623e..c3158de 100644 --- a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java @@ -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() {