Renaming method. Old name no longer makes sense

This commit is contained in:
Óscar González Fernández 2009-10-12 13:42:50 +02:00
parent 7049840024
commit 78eb268e71
2 changed files with 2 additions and 2 deletions

View file

@ -160,7 +160,7 @@ public class ResourceAllocationModel implements IResourceAllocationModel {
List<AllocationDTO> currentAllocations = addDefaultGenericIfNeeded(AllocationDTO.toDTOs(this.task
.getResourceAllocations()));
resourceAllocationsBeingEdited = ResourceAllocationsBeingEdited
.noTaskModifying(task, currentAllocations, resourceDAO,
.create(task, currentAllocations, resourceDAO,
reattachResources(getResourcesMatchingCriterions()));
return resourceAllocationsBeingEdited;
}

View file

@ -46,7 +46,7 @@ import org.navalplanner.business.resources.entities.Resource;
public class ResourceAllocationsBeingEdited {
public static ResourceAllocationsBeingEdited noTaskModifying(Task task,
public static ResourceAllocationsBeingEdited create(Task task,
List<AllocationDTO> initialAllocations, IResourceDAO resourceDAO,
List<Resource> resourcesBeingEdited) {
return new ResourceAllocationsBeingEdited(task, initialAllocations,