Set profile operation DAO for profile operations

revert-70aa11f8
manoj 10 years ago
parent befb9cc711
commit 7cf5460fe6

@ -164,12 +164,15 @@ public class OperationManagerImpl implements OperationManager {
}
private OperationDAO lookupOperationDAO(Operation operation) {
if (operation instanceof CommandOperation) {
return commandOperationDAO;
} else if (operation instanceof ProfileOperation) {
return profileOperationDAO;
} else if (operation instanceof ConfigOperation) {
return configOperationDAO;
} else {
return profileOperationDAO;
}else{
return operationDAO;
}
}

Loading…
Cancel
Save