ItEr27S07CUVistaRecursosTempoPorProxectoItEr26S08: Renaming method to show better intent

This commit is contained in:
Óscar González Fernández 2009-09-28 13:15:25 +02:00
parent c02b9c8ada
commit 155e2ada4d

View file

@ -64,10 +64,10 @@ public class ResourceLoadModel implements IResourceLoadModel {
return new LoadTimelinesGroup(buildTimeLine(resource, resource
.getDescription(), sortedByStartDate),
buildTimeLinesForEachTask(resource,
withoutGeneric(sortedByStartDate)));
onlySpecific(sortedByStartDate)));
}
private List<SpecificResourceAllocation> withoutGeneric(
private List<SpecificResourceAllocation> onlySpecific(
List<ResourceAllocation<?>> sortedByStartDate) {
List<SpecificResourceAllocation> result = new ArrayList<SpecificResourceAllocation>();
for (ResourceAllocation<?> r : sortedByStartDate) {