diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2015-05-07 15:59:40 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2015-05-11 17:04:46 +0200 |
commit | 3c18d94e800d30e71b2ca578b2a4d606f824e844 (patch) | |
tree | aca651a8adb71920ea839beb8975c425b94a587f /plugins | |
parent | 079a8179040931d2589b7d9b233ca9ed949437e2 (diff) | |
download | sonarqube-3c18d94e800d30e71b2ca578b2a4d606f824e844.tar.gz sonarqube-3c18d94e800d30e71b2ca578b2a4d606f824e844.zip |
SONAR-6535 API cleanup: deprecate BatchComponent and ServerComponent
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java | 2 | ||||
-rw-r--r-- | plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java index 4afed1eb7ef..7a6fdb979a2 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java @@ -25,7 +25,6 @@ import org.sonar.api.Properties; import org.sonar.api.Property; import org.sonar.api.PropertyType; import org.sonar.api.SonarPlugin; -import org.sonar.core.timemachine.Periods; import org.sonar.plugins.core.charts.DistributionAreaChart; import org.sonar.plugins.core.charts.DistributionBarChart; import org.sonar.plugins.core.dashboards.GlobalDefaultDashboard; @@ -258,7 +257,6 @@ public final class CorePlugin extends SonarPlugin { extensions.add( DefaultResourceTypes.class, UserManagedMetrics.class, - Periods.class, // measure filters ProjectFilter.class, diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java index 6526240c9d1..4dda3ddbc95 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java @@ -19,16 +19,18 @@ */ package org.sonar.plugins.core; -import org.sonar.api.BatchExtension; +import org.sonar.api.BatchSide; import org.sonar.api.ExtensionProvider; -import org.sonar.api.ServerExtension; +import org.sonar.api.ServerSide; import org.sonar.api.batch.InstantiationStrategy; import org.sonar.api.resources.Qualifiers; import org.sonar.api.resources.ResourceType; import org.sonar.api.resources.ResourceTypeTree; +@BatchSide +@ServerSide @InstantiationStrategy(InstantiationStrategy.PER_BATCH) -public final class DefaultResourceTypes extends ExtensionProvider implements BatchExtension, ServerExtension { +public final class DefaultResourceTypes extends ExtensionProvider { private static final String SUPPORTS_MEASURE_FILTERS = "supportsMeasureFilters"; private static final String CONFIGURABLE = "configurable"; |