From 91bf92f879c3a251e56e54b9714599f494fee9e3 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Vilain Date: Thu, 4 Apr 2013 15:56:29 +0200 Subject: (SONAR-3893) Improve the highlighter API to not depend on sonar-channel and allow to work on multi-line tokens --- sonar-server/src/main/java/org/sonar/server/platform/Platform.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sonar-server') diff --git a/sonar-server/src/main/java/org/sonar/server/platform/Platform.java b/sonar-server/src/main/java/org/sonar/server/platform/Platform.java index b9ac8c908d7..1d4986dec0c 100644 --- a/sonar-server/src/main/java/org/sonar/server/platform/Platform.java +++ b/sonar-server/src/main/java/org/sonar/server/platform/Platform.java @@ -56,6 +56,7 @@ import org.sonar.core.persistence.SemaphoresImpl; import org.sonar.core.qualitymodel.DefaultModelFinder; import org.sonar.core.resource.DefaultResourcePermissions; import org.sonar.core.rule.DefaultRuleFinder; +import org.sonar.core.source.HighlightableBuilder; import org.sonar.core.test.TestPlanBuilder; import org.sonar.core.test.TestableBuilder; import org.sonar.core.timemachine.Periods; @@ -269,9 +270,10 @@ public final class Platform { servicesContainer.addSingleton(DefaultNotificationManager.class); servicesContainer.addSingleton(ReviewsNotificationManager.class); - // graphs + // graphs and perspective related classes servicesContainer.addSingleton(TestPlanBuilder.class); servicesContainer.addSingleton(TestableBuilder.class); + servicesContainer.addSingleton(HighlightableBuilder.class); servicesContainer.addSingleton(SnapshotPerspectives.class); ServerExtensionInstaller extensionRegistrar = servicesContainer.getComponentByType(ServerExtensionInstaller.class); -- cgit v1.2.3