try {
List<RequirementMigrationDto> requirementDtos = dbSession.getMapper(CharacteristicMapper.class).selectDeprecatedRequirements();
if (requirementDtos.isEmpty()) {
- LOGGER.info("No requirement will be copied", requirementDtos);
+ LOGGER.info("No requirement need to be copied", requirementDtos);
} else {
int requirementCopied = 0;
}
dbSession.commit();
- LOGGER.info("{} requirements have been found, {} have be copied", requirementDtos.size(), requirementCopied);
+ LOGGER.info("{} requirements have been found, {} have been copied", requirementDtos.size(), requirementCopied);
}
} finally {
MyBatis.closeQuietly(dbSession);