aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2017-01-31 17:39:29 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2017-02-02 17:05:25 +0100
commit772fe2510ab174fa0f12ee93087d8cbe6a594f61 (patch)
tree09ddb1b189aeee3c0b0d40cc5bf87e58b6df6b05 /sonar-core
parent6358f483146da56ef2893d109d347be10f5b342a (diff)
downloadsonarqube-772fe2510ab174fa0f12ee93087d8cbe6a594f61.tar.gz
sonarqube-772fe2510ab174fa0f12ee93087d8cbe6a594f61.zip
SONAR-8610 Remove setting sonar.technicalDebt.hoursInDay
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/config/DebtProperties.java14
-rw-r--r--sonar-core/src/test/java/org/sonar/core/config/CorePropertyDefinitionsTest.java2
2 files changed, 3 insertions, 13 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/config/DebtProperties.java b/sonar-core/src/main/java/org/sonar/core/config/DebtProperties.java
index 230e6c0a279..ee07fa924ef 100644
--- a/sonar-core/src/main/java/org/sonar/core/config/DebtProperties.java
+++ b/sonar-core/src/main/java/org/sonar/core/config/DebtProperties.java
@@ -34,14 +34,6 @@ class DebtProperties {
static List<PropertyDefinition> all() {
return ImmutableList.of(
- PropertyDefinition.builder(CoreProperties.HOURS_IN_DAY)
- .name("Number of working hours in a day")
- .type(PropertyType.INTEGER)
- .defaultValue("8")
- .category(CoreProperties.CATEGORY_TECHNICAL_DEBT)
- .deprecatedKey("sqale.hoursInDay")
- .build(),
-
PropertyDefinition.builder(CoreProperties.DEVELOPMENT_COST)
.defaultValue("" + CoreProperties.DEVELOPMENT_COST_DEF_VALUE)
.name("Development cost")
@@ -78,9 +70,7 @@ class DebtProperties {
.name("Development cost")
.description("If left blank, the generic value defined in this section will be used.")
.type(PropertyType.FLOAT)
- .build()
- )
- .build()
- );
+ .build())
+ .build());
}
}
diff --git a/sonar-core/src/test/java/org/sonar/core/config/CorePropertyDefinitionsTest.java b/sonar-core/src/test/java/org/sonar/core/config/CorePropertyDefinitionsTest.java
index 470cc2f2ed8..bf9d2501497 100644
--- a/sonar-core/src/test/java/org/sonar/core/config/CorePropertyDefinitionsTest.java
+++ b/sonar-core/src/test/java/org/sonar/core/config/CorePropertyDefinitionsTest.java
@@ -35,7 +35,7 @@ public class CorePropertyDefinitionsTest {
@Test
public void all() {
List<PropertyDefinition> defs = CorePropertyDefinitions.all();
- assertThat(defs).hasSize(65);
+ assertThat(defs).hasSize(64);
}
@Test