aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-11-30 15:17:30 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-11-30 15:17:57 +0100
commit6bda5f6fae5c2eb5ea4fb97317877e1b26f49de0 (patch)
tree6f1d6f23c8ce10f2fca251153eabc5bb5d6afd9c /sonar-core
parentd9dd9332fc77d9e61bda0316cbb7d8f7c75f71d5 (diff)
downloadsonarqube-6bda5f6fae5c2eb5ea4fb97317877e1b26f49de0.tar.gz
sonarqube-6bda5f6fae5c2eb5ea4fb97317877e1b26f49de0.zip
SONAR-3825 improve migration
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterFactory.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterFactory.java b/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterFactory.java
index f81086d5c86..010ae4e9e8a 100644
--- a/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterFactory.java
+++ b/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterFactory.java
@@ -58,13 +58,13 @@ public class MeasureFilterFactory implements ServerComponent {
filter.setResourceKeyRegexp((String) properties.get("keyRegexp"));
if (properties.containsKey("fromDate")) {
filter.setFromDate(toDate((String) properties.get("fromDate")));
- } else if (properties.containsKey("afterDays")) {
- filter.setFromDate(toDays((String) properties.get("afterDays")));
+ } else if (properties.containsKey("ageMaxDays")) {
+ filter.setFromDate(toDays((String) properties.get("ageMaxDays")));
}
if (properties.containsKey("toDate")) {
filter.setToDate(toDate((String) properties.get("toDate")));
- } else if (properties.containsKey("beforeDays")) {
- filter.setToDate(toDays((String) properties.get("beforeDays")));
+ } else if (properties.containsKey("ageMinDays")) {
+ filter.setToDate(toDays((String) properties.get("ageMinDays")));
}
if (properties.containsKey("onFavourites")) {