ItEr32S09ValidacionEProbasFuncionaisItEr31S12: Adding preconditions
bug #67
This commit is contained in:
parent
c8b02d6db1
commit
23e243f1b5
1 changed files with 3 additions and 0 deletions
|
|
@ -91,6 +91,9 @@ abstract class LoadPeriodGenerator {
|
|||
|
||||
protected LoadPeriodGenerator(LocalDate start,
|
||||
LocalDate end, List<ResourceAllocation<?>> allocationsOnInterval) {
|
||||
Validate.notNull(start);
|
||||
Validate.notNull(end);
|
||||
Validate.notNull(allocationsOnInterval);
|
||||
this.start = start;
|
||||
this.end = end;
|
||||
this.allocationsOnInterval = allocationsOnInterval;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue