MyBatis.closeQuietly(dbSession);
}
}
private void convert(RuleDto rule, Collection<RequirementMigrationDto> requirementsForRule, DbSession session) {
RequirementMigrationDto enabledRequirement = enabledRequirement(requirementsForRule);
if (enabledRequirement == null && RuleStatus.REMOVED != rule.getStatus()) {
// If no enabled requirement is found, it means that the requirement has been disabled for this rule
convertDisableRequirement(rule, session);