aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-03-12 09:04:23 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-03-12 09:05:17 +0100
commitd39705e47be776b16f1824d5a810359337749bc0 (patch)
treef80cad237c595e16fa0dce8ead705691d0029843 /sonar-plugin-api
parent109a3219b99352aa2b79388b44363aa3a959b2ef (diff)
downloadsonarqube-d39705e47be776b16f1824d5a810359337749bc0.tar.gz
sonarqube-d39705e47be776b16f1824d5a810359337749bc0.zip
SONAR-5124 The "Weighted Issues" metric should not be deprecated anymore
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java9
1 files changed, 0 insertions, 9 deletions
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();
/**