aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-05-10 15:42:41 +0200
committerDavid Gageot <david@gageot.net>2012-05-10 15:42:41 +0200
commitabeaeb8fd1a42338962850188a83983ec7a8c3b0 (patch)
treedb77101288b09a00bd8f5fa9c3d92f70a79475cf
parent2e6fcd67c3efd4d3e9c9f00864dd68ae764204ed (diff)
downloadsonarqube-abeaeb8fd1a42338962850188a83983ec7a8c3b0.tar.gz
sonarqube-abeaeb8fd1a42338962850188a83983ec7a8c3b0.zip
SONAR-2073 filter is not optional in Filter Widget
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/FilterWidget.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/FilterWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/FilterWidget.java
index 535cca92c7d..654b568f6d1 100644
--- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/FilterWidget.java
+++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/FilterWidget.java
@@ -31,7 +31,7 @@ import org.sonar.api.web.WidgetPropertyType;
@WidgetCategory({"Filters", "Global"})
@WidgetGlobal
@WidgetProperties({
- @WidgetProperty(key = "filter", type = WidgetPropertyType.FILTER, defaultValue = "1")
+ @WidgetProperty(key = "filter", type = WidgetPropertyType.FILTER, optional = false)
})
public class FilterWidget extends AbstractRubyTemplate implements RubyRailsWidget {