aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-05-25 11:33:56 +0200
committerDavid Gageot <david@gageot.net>2012-05-25 11:33:56 +0200
commit5c2eb1b5e19f4999d483dbd4607e107e04c19ea4 (patch)
tree9346a98a2503557899e8406db7a42910c643de7c /plugins
parent2f751bd1fa0fc9202f73d3ba165af02182e17b0c (diff)
downloadsonarqube-5c2eb1b5e19f4999d483dbd4607e107e04c19ea4.tar.gz
sonarqube-5c2eb1b5e19f4999d483dbd4607e107e04c19ea4.zip
Remove unused variables
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/AbstractFilterDashboard.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/AbstractFilterDashboard.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/AbstractFilterDashboard.java
index 7f824f9745e..60d35b21c9e 100644
--- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/AbstractFilterDashboard.java
+++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/AbstractFilterDashboard.java
@@ -19,13 +19,10 @@
*/
package org.sonar.plugins.core.dashboards;
-import org.sonar.plugins.core.widgets.FilterWidget;
-
-import org.sonar.api.web.Dashboard.Widget;
-
import org.sonar.api.web.Dashboard;
import org.sonar.api.web.DashboardLayout;
import org.sonar.api.web.DashboardTemplate;
+import org.sonar.plugins.core.widgets.FilterWidget;
/**
* Base class for global dashboard containing a single
@@ -42,7 +39,8 @@ abstract class AbstractFilterDashboard extends DashboardTemplate {
.setGlobal(true)
.setLayout(DashboardLayout.ONE_COLUMN);
- Widget filterWidget = dashboard.addWidget("filter", 1)
+ dashboard
+ .addWidget("filter", 1)
.setProperty(FilterWidget.FILTER, getFilterKey());
return dashboard;