aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-core-plugin
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-10-28 08:29:43 +0100
committerJulien Lancelot <julien.lancelot@gmail.com>2013-10-28 08:29:43 +0100
commit7cc97097b53cad764eee49b3eb5a0e1bb59a0498 (patch)
treebd53345e12a57714c6e889f47d4a489af4705af5 /plugins/sonar-core-plugin
parentddf293f0b9827b26b2efb96526ecc7d242750cba (diff)
downloadsonarqube-7cc97097b53cad764eee49b3eb5a0e1bb59a0498.tar.gz
sonarqube-7cc97097b53cad764eee49b3eb5a0e1bb59a0498.zip
SONAR-4357 Add old property key to sonar.technicalDebt.hoursInDay property to keep backward compatibility
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/technicaldebt/TechnicalDebtDecorator.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/technicaldebt/TechnicalDebtDecorator.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/technicaldebt/TechnicalDebtDecorator.java
index 457f12443a2..0deca0696aa 100644
--- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/technicaldebt/TechnicalDebtDecorator.java
+++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/technicaldebt/TechnicalDebtDecorator.java
@@ -117,6 +117,7 @@ public final class TechnicalDebtDecorator implements Decorator {
.type(PropertyType.INTEGER)
.defaultValue("8")
.category(CoreProperties.CATEGORY_TECHNICAL_DEBT)
+ .deprecatedKey("sqale.hoursInDay")
.build()
);
}