]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5392 Update log message
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 12 Jun 2014 09:07:38 +0000 (11:07 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 12 Jun 2014 09:07:38 +0000 (11:07 +0200)
sonar-server/src/main/java/org/sonar/server/startup/CopyRequirementsFromCharacteristicsToRules.java

index 2cf02ae839e78d48c4f63aaaa588fdde4131d2bb..e40a54ba10e98a29502537d90de7092fc31eb5dc 100644 (file)
@@ -94,7 +94,7 @@ public class CopyRequirementsFromCharacteristicsToRules implements ServerCompone
     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;
@@ -114,7 +114,7 @@ public class CopyRequirementsFromCharacteristicsToRules implements ServerCompone
         }
         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);