From 6bda5f6fae5c2eb5ea4fb97317877e1b26f49de0 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Fri, 30 Nov 2012 15:17:30 +0100 Subject: SONAR-3825 improve migration --- .../main/java/org/sonar/core/measure/MeasureFilterFactory.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sonar-core/src') 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")) { -- cgit v1.2.3