убрал исключение для нечетного количества сделок в 2 шаге сессий
This commit is contained in:
parent
b6e19b9f8d
commit
6ea0cf3e38
1 changed files with 0 additions and 3 deletions
|
|
@ -55,9 +55,6 @@ public class RequirementsAndObligationCreation implements ISessionStage {
|
|||
}
|
||||
|
||||
private StageResult<?> createRegisters(List<ExecutionCommon> data) {
|
||||
if (data.size() % 2 != 0) {
|
||||
throw new IllegalStateException("Data size must be even (executions must match)");
|
||||
}
|
||||
//см. описание к #matchExecutions
|
||||
for (int i = 0; i < data.size(); ) {
|
||||
Pair<ExecutionCommon, ExecutionCommon> matched = matchExecutions(data, i);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue