From: Julien HENRY Date: Tue, 11 Dec 2018 10:33:34 +0000 (+0100) Subject: SONAR-11508 Change message X-Git-Tag: 7.6~61 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4586492887f980c8d9ed0729ca2c75b0f0e99635;p=sonarqube.git SONAR-11508 Change message --- diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/filesystem/FileIndexer.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/filesystem/FileIndexer.java index 2eeecf9c000..c2ad796935f 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/filesystem/FileIndexer.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/filesystem/FileIndexer.java @@ -110,7 +110,8 @@ public class FileIndexer { if (projectExclusionFilters.equals(moduleExclusionFilters)) { warnOnceDeprecatedExclusion( "Specifying module-relative paths at project level in the files exclusions/inclusions properties is deprecated. " + - "To continue excluding files like '" + projectRelativePath + "' from the analysis, update this property so that patterns refer to project-relative paths."); + "To continue including/excluding files like '" + projectRelativePath + "' from the analysis, " + + "update these properties so that patterns refer to project-relative paths."); } excludedByPatternsCount.incrementAndGet(); return; diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java index 49e23ec62aa..b93776906e4 100644 --- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java +++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java @@ -576,7 +576,7 @@ public class FileSystemMediumTest { assertThat(logTester.logs(LoggerLevel.WARN)) .contains("Specifying module-relative paths at project level in the files exclusions/inclusions properties is deprecated. " + - "To continue excluding files like 'moduleA/src/sample.xoo' from the analysis, update this property so that patterns refer to project-relative paths."); + "To continue including/excluding files like 'moduleA/src/sample.xoo' from the analysis, update these properties so that patterns refer to project-relative paths."); } @Test