aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/WeightedIssuesDecorator.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java9
2 files changed, 1 insertions, 10 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/WeightedIssuesDecorator.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/WeightedIssuesDecorator.java
index ebe79311938..e3172e5870c 100644
--- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/WeightedIssuesDecorator.java
+++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/WeightedIssuesDecorator.java
@@ -48,7 +48,7 @@ import java.util.Map;
key = CoreProperties.CORE_RULE_WEIGHTS_PROPERTY,
defaultValue = CoreProperties.CORE_RULE_WEIGHTS_DEFAULT_VALUE,
name = "Rules weight",
- description = "A weight is associated to each severity to calculate the Rules Compliance Index.",
+ description = "A weight is associated to each severity to emphasize the most critical issues.",
project = false,
global = true,
category = CoreProperties.CATEGORY_GENERAL)
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
index d55b7487104..d39add1e040 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
@@ -1344,16 +1344,8 @@ public final class CoreMetrics {
//
// --------------------------------------------------------------------------------------------------------------------
- /**
- * @deprecated since 4.0. See SONAR-4755
- */
- @Deprecated
public static final String WEIGHTED_VIOLATIONS_KEY = "weighted_violations";
- /**
- * @deprecated since 4.0. See SONAR-4755
- */
- @Deprecated
public static final Metric WEIGHTED_VIOLATIONS = new Metric.Builder(WEIGHTED_VIOLATIONS_KEY, "Weighted issues", Metric.ValueType.INT)
.setDescription("Weighted Issues")
.setDirection(Metric.DIRECTION_WORST)
@@ -1361,7 +1353,6 @@ public final class CoreMetrics {
.setDomain(DOMAIN_ISSUES)
.setBestValue(0.0)
.setOptimizedBestValue(true)
- .setHidden(true)
.create();
/**