Remove warnings from file
One method was unused and the other one was accessed when doing validations before saving. FEA: ItEr70S09FragmentationDeletion
This commit is contained in:
parent
0df4c9db43
commit
04ae798d48
1 changed files with 1 additions and 5 deletions
|
|
@ -26,7 +26,6 @@ import static org.navalplanner.business.workingday.EffortDuration.min;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
|
|
@ -94,6 +93,7 @@ public class GenericResourceAllocation extends
|
|||
private Set<GenericDayAssignmentsContainer> genericDayAssignmentsContainers = new HashSet<GenericDayAssignmentsContainer>();
|
||||
|
||||
@Valid
|
||||
@SuppressWarnings("unused")
|
||||
private Set<GenericDayAssignmentsContainer> getGenericDayAssignmentsContainers() {
|
||||
return new HashSet<GenericDayAssignmentsContainer>(
|
||||
genericDayAssignmentsContainers);
|
||||
|
|
@ -190,10 +190,6 @@ public class GenericResourceAllocation extends
|
|||
return Collections.unmodifiableSet(criterions);
|
||||
}
|
||||
|
||||
private static Date toDate(LocalDate day) {
|
||||
return day.toDateTimeAtStartOfDay().toDate();
|
||||
}
|
||||
|
||||
private final class ResourcesSatisfyingCriterionsSelector implements
|
||||
IResourceSelector {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue