diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-02-13 15:33:58 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-02-13 15:36:04 +0100 |
commit | 695fca2e7412295fc041ff8d61cf727d35d05ce9 (patch) | |
tree | 2f8523fb5c343e78f948a0315a1f9f330c075a92 /plugins | |
parent | b6e7cc0ac63191ebcd85a3ef77fb18c224280195 (diff) | |
download | sonarqube-695fca2e7412295fc041ff8d61cf727d35d05ce9.tar.gz sonarqube-695fca2e7412295fc041ff8d61cf727d35d05ce9.zip |
Fix some quality flaws
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java | 12 |
1 files changed, 4 insertions, 8 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 0a136a4fcef..565df44a269 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 @@ -30,7 +30,6 @@ import org.sonar.api.notifications.NotificationDispatcherMetadata; import org.sonar.api.resources.Java; import org.sonar.core.timemachine.Periods; import org.sonar.plugins.core.batch.IndexProjectPostJob; -import org.sonar.plugins.core.batch.MavenInitializer; import org.sonar.plugins.core.charts.DistributionAreaChart; import org.sonar.plugins.core.charts.DistributionBarChart; import org.sonar.plugins.core.charts.XradarChart; @@ -413,9 +412,6 @@ public final class CorePlugin extends SonarPlugin { UserManagedMetrics.class, Periods.class, - // maven - MavenInitializer.class, - // languages Java.class, @@ -521,15 +517,15 @@ public final class CorePlugin extends SonarPlugin { // Notify incoming violations on my favourite projects NewViolationsOnMyFavouriteProject.class, NotificationDispatcherMetadata.create("NewViolationsOnMyFavouriteProject") - .setProperty(NotificationDispatcherMetadata.GLOBAL_NOTIFICATION, "true"), + .setProperty(NotificationDispatcherMetadata.GLOBAL_NOTIFICATION, String.valueOf(true)), // Notify alerts on my favourite projects AlertsOnMyFavouriteProject.class, NotificationDispatcherMetadata.create("AlertsOnMyFavouriteProject") - .setProperty(NotificationDispatcherMetadata.GLOBAL_NOTIFICATION, "true"), + .setProperty(NotificationDispatcherMetadata.GLOBAL_NOTIFICATION, String.valueOf(true)), // Notify reviews changes ChangesInReviewAssignedToMeOrCreatedByMe.class, NotificationDispatcherMetadata.create("ChangesInReviewAssignedToMeOrCreatedByMe") - .setProperty(NotificationDispatcherMetadata.GLOBAL_NOTIFICATION, "true") - .setProperty(NotificationDispatcherMetadata.PER_PROJECT_NOTIFICATION, "true")); + .setProperty(NotificationDispatcherMetadata.GLOBAL_NOTIFICATION, String.valueOf(true)) + .setProperty(NotificationDispatcherMetadata.PER_PROJECT_NOTIFICATION, String.valueOf(true))); } } |