diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-09-29 13:54:48 +0200 |
---|---|---|
committer | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-09-30 16:28:08 +0200 |
commit | 91cf8cfa5a50c8322b39f87c4cf187690af88d99 (patch) | |
tree | d18dcfe67a86001b6270f64052324c861867d9ae /sonar-batch | |
parent | 4949bcaec5280aa01400ddb3be207f5d0d1b5d4c (diff) | |
download | sonarqube-91cf8cfa5a50c8322b39f87c4cf187690af88d99.tar.gz sonarqube-91cf8cfa5a50c8322b39f87c4cf187690af88d99.zip |
Improve unassociated mode logs
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/repository/ProjectRepositoriesProvider.java | 2 |
1 files changed, 1 insertions, 1 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 2006167509e..eecca8b1dfe 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 @@ -58,7 +58,7 @@ public class ProjectRepositoriesProvider extends ProviderAdapter { if (mode.isIssues()) { if (!project.exists()) { LOG.warn("Project doesn't exist on the server. All issues will be marked as 'new'."); - } else if (project.lastAnalysisDate() == null) { + } else if (project.lastAnalysisDate() == null && !mode.isNotAssociated()) { LOG.warn("No analysis has been found on the server for this project. All issues will be marked as 'new'."); } } |