]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4775 Update warning messages
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 20 Nov 2013 17:06:08 +0000 (18:06 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 20 Nov 2013 17:08:15 +0000 (18:08 +0100)
sonar-core/src/main/java/org/sonar/core/technicaldebt/TechnicalDebtXMLImporter.java

index 8d5211032e58b6b44acc21b5c817422edea462c1..cfed80d225caed40fbafbdb13aa8310695f03af4 100644 (file)
@@ -164,12 +164,12 @@ public class TechnicalDebtXMLImporter implements ServerExtension {
         CharacteristicProperty offset = characteristic.getProperty(TechnicalDebtRequirement.PROPERTY_OFFSET);
         offset.setValue(0d);
 
-        String message = String.format("Linear with threshold function is no more used, the function of the requirement on rule '%s:%s' is replaced by linear.",
+        String message = String.format("Linear with threshold function is no more used, function of the requirement '%s:%s' is replaced by linear.",
           characteristic.getRule().getRepositoryKey(), characteristic.getRule().getKey());
         LOG.warn(message);
         messages.addWarningText(message);
       } else if ("constant_resource".equals(function.getTextValue())) {
-        String message = String.format("Constant / file function is no more used, requirement on rule '%s:%s' is ignored.",
+        String message = String.format("Constant/file function is no more used, requirements '%s:%s' are ignored.",
           characteristic.getRule().getRepositoryKey(), characteristic.getRule().getKey());
         LOG.warn(message);
         messages.addWarningText(message);