diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-11-27 12:40:24 +0100 |
---|---|---|
committer | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-11-27 12:40:29 +0100 |
commit | d32e10df85f49769060b5485cfb3d117e14bec2c (patch) | |
tree | f29acc8f1854dba2012fd1fb6eb2d94cead13fa0 /sonar-batch | |
parent | fd0ac42b099bf88748d6606735f2eea5c913ab0b (diff) | |
download | sonarqube-d32e10df85f49769060b5485cfb3d117e14bec2c.tar.gz sonarqube-d32e10df85f49769060b5485cfb3d117e14bec2c.zip |
Fix quality issue
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/repository/ProjectRepositoriesProvider.java | 4 |
1 files changed, 1 insertions, 3 deletions
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); |