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) { private OperationDAO lookupOperationDAO(Operation operation) {
if (operation instanceof CommandOperation) { if (operation instanceof CommandOperation) {
return commandOperationDAO; return commandOperationDAO;
} else if (operation instanceof ProfileOperation) {
return profileOperationDAO;
} else if (operation instanceof ConfigOperation) { } else if (operation instanceof ConfigOperation) {
return configOperationDAO; return configOperationDAO;
}else{ }else{
return profileOperationDAO; return operationDAO;
} }
} }

Loading…
Cancel
Save