]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3893 Fixed missing perspective builder declaration in IoC container
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Mon, 6 May 2013 08:06:25 +0000 (10:06 +0200)
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Mon, 6 May 2013 08:06:25 +0000 (10:06 +0200)
sonar-batch/src/main/java/org/sonar/batch/scan/ProjectScanContainer.java
sonar-batch/src/main/java/org/sonar/batch/source/DefaultSymbol.java

index 6173d7d56fa301afdcc46f689bdfb0c3dcb2a0a5..e006f37bf372c636e26bceaa005efaa8269f886e 100644 (file)
@@ -111,6 +111,7 @@ public class ProjectScanContainer extends ComponentContainer {
 
       // lang
       HighlightableBuilder.class,
+      org.sonar.batch.source.HighlightableBuilder.class,
       SymbolPerspectiveBuilder.class,
       SymbolizableBuilder.class);
   }
index 99b33ab67d6f898be105578f7928b076a1a3fbc8..52596bdb31e97b9982cc01914801b6152890c549 100644 (file)
@@ -22,13 +22,15 @@ package org.sonar.batch.source;
 
 import org.sonar.api.source.Symbol;
 
+import javax.annotation.Nullable;
+
 public class DefaultSymbol implements Symbol {
 
   private final int declarationStartOffset;
   private final int declarationEndOffset;
   private final String fullyQualifiedName;
 
-  public DefaultSymbol(int startOffset, int endOffset, String fullyQualifiedName) {
+  public DefaultSymbol(int startOffset, int endOffset, @Nullable String fullyQualifiedName) {
     this.declarationStartOffset = startOffset;
     this.declarationEndOffset = endOffset;
     this.fullyQualifiedName = fullyQualifiedName;