]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7440 Remove remaining SQALE words
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 16 Mar 2016 11:10:50 +0000 (12:10 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 16 Mar 2016 11:44:04 +0000 (12:44 +0100)
server/sonar-server/src/main/java/org/sonar/server/computation/qualitymodel/RatingGrid.java
server/sonar-server/src/main/java/org/sonar/server/computation/qualitymodel/RatingSettings.java

index 02826a50db9f5cbb90e05f294059df62c1cc7f93..4b9c7e8f3e4d721109a984eed2999a46b0cc5013 100644 (file)
@@ -38,7 +38,7 @@ public class RatingGrid {
         return rating;
       }
     }
-    throw MessageException.of("The SQALE density value should be between 0 and " + Double.MAX_VALUE + " and got " + density);
+    throw MessageException.of("The rating density value should be between 0 and " + Double.MAX_VALUE + " and got " + density);
   }
 
   double getGradeLowerBound(Rating rating) {
index aba96bdbd1e2a1076c91e09ec0686c01610709c6..b5766e939eecd8ef6b21fd735633071963e1d32e 100644 (file)
@@ -64,7 +64,7 @@ public class RatingSettings {
       }
       return new RatingGrid(grid);
     } catch (Exception e) {
-      throw new IllegalArgumentException("The SQALE rating grid is incorrect. Expected something similar to '"
+      throw new IllegalArgumentException("The rating grid is incorrect. Expected something similar to '"
         + RATING_GRID_DEF_VALUES + "' and got '"
         + settings.getString(RATING_GRID) + "'", e);
     }
@@ -89,7 +89,7 @@ public class RatingSettings {
     try {
       return Long.parseLong(settings.getString(DEVELOPMENT_COST));
     } catch (NumberFormatException e) {
-      throw new IllegalArgumentException("The value of the SQALE property '" + DEVELOPMENT_COST
+      throw new IllegalArgumentException("The value of the development cost property '" + DEVELOPMENT_COST
         + "' is incorrect. Expected long but got '" + settings.getString(DEVELOPMENT_COST) + "'", e);
     }
   }