From: Duarte Meneses Date: Fri, 27 Nov 2015 11:40:24 +0000 (+0100) Subject: Fix quality issue X-Git-Tag: 5.3-RC1~145 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d32e10df85f49769060b5485cfb3d117e14bec2c;p=sonarqube.git Fix quality issue --- diff --git a/sonar-batch/src/main/java/org/sonar/batch/repository/ProjectRepositoriesProvider.java b/sonar-batch/src/main/java/org/sonar/batch/repository/ProjectRepositoriesProvider.java index eecca8b1dfe..7fe5cd13b80 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/repository/ProjectRepositoriesProvider.java +++ b/sonar-batch/src/main/java/org/sonar/batch/repository/ProjectRepositoriesProvider.java @@ -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);