fix check
This commit is contained in:
parent
a4de86b5df
commit
dcf30464df
1 changed files with 4 additions and 4 deletions
|
@ -66,15 +66,15 @@ public class OrientationTableDuplicatesCheck implements DBIntegrityCheck {
|
|||
}
|
||||
}
|
||||
|
||||
if (toDelete.isEmpty()) {
|
||||
return "OK";
|
||||
}
|
||||
|
||||
final List<Long> checkedToDelete = toDelete
|
||||
.stream()
|
||||
.filter(this::doubleCheck)
|
||||
.collect(Collectors.toList());
|
||||
|
||||
if (checkedToDelete == null || checkedToDelete.isEmpty()) {
|
||||
return "OK";
|
||||
}
|
||||
|
||||
if (tryFix) {
|
||||
|
||||
checkedToDelete
|
||||
|
|
Loading…
Reference in a new issue