]> source.dussan.org Git - sonarqube.git/commitdiff
Fix quality issue
authorDuarte Meneses <duarte.meneses@sonarsource.com>
Fri, 27 Nov 2015 11:40:24 +0000 (12:40 +0100)
committerDuarte Meneses <duarte.meneses@sonarsource.com>
Fri, 27 Nov 2015 11:40:29 +0000 (12:40 +0100)
sonar-batch/src/main/java/org/sonar/batch/repository/ProjectRepositoriesProvider.java

index eecca8b1dfef081c3ec9417b21218f0b10d6d342..7fe5cd13b80026633492fe0551114e1841492956 100644 (file)
@@ -25,8 +25,6 @@ import org.sonar.api.batch.bootstrap.ProjectKey;
 import org.sonar.api.utils.log.Logger;
 import org.sonar.api.utils.log.Loggers;
 
-import javax.annotation.Nullable;
-
 import org.sonar.batch.analysis.DefaultAnalysisMode;
 import org.apache.commons.lang.mutable.MutableBoolean;
 import org.picocontainer.injectors.ProviderAdapter;
@@ -36,7 +34,7 @@ public class ProjectRepositoriesProvider extends ProviderAdapter {
   private static final String LOG_MSG = "Load project repositories";
   private ProjectRepositories project = null;
 
-  public ProjectRepositories provide(@Nullable ProjectRepositoriesLoader loader, ProjectKey projectKey, DefaultAnalysisMode mode) {
+  public ProjectRepositories provide(ProjectRepositoriesLoader loader, ProjectKey projectKey, DefaultAnalysisMode mode) {
     if (project == null) {
       MutableBoolean fromCache = new MutableBoolean(false);
       Profiler profiler = Profiler.create(LOG).startInfo(LOG_MSG);