Revert "ItEr30S17ValidacionEProbasFuncionais: Removing exception throwing. bug #48"
This reverts commit c3e9e4fbff.
This commit is contained in:
parent
0610cb2993
commit
be9e79eae9
1 changed files with 2 additions and 0 deletions
|
|
@ -82,6 +82,8 @@ public class LoadPeriod {
|
|||
public int compare(LoadPeriod o1, LoadPeriod o2) {
|
||||
if (o1.overlaps(o2)) {
|
||||
LOG.warn(o1 + " overlaps with " + o2);
|
||||
throw new IllegalArgumentException(o1 + " overlaps with "
|
||||
+ o2);
|
||||
}
|
||||
int comparison = compareLocalDates(o1.start, o2.start);
|
||||
if (comparison != 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue