aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2018-12-11 11:33:34 +0100
committersonartech <sonartech@sonarsource.com>2019-01-16 09:43:09 +0100
commit4586492887f980c8d9ed0729ca2c75b0f0e99635 (patch)
treed55d8aa2e93acf1a510c78282c9aa6a1c61d2e59 /sonar-scanner-engine
parent8c64cded897a94513f68899f87d5d0e37559c948 (diff)
downloadsonarqube-4586492887f980c8d9ed0729ca2c75b0f0e99635.tar.gz
sonarqube-4586492887f980c8d9ed0729ca2c75b0f0e99635.zip
SONAR-11508 Change message
Diffstat (limited to 'sonar-scanner-engine')
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/filesystem/FileIndexer.java3
-rw-r--r--sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java2
2 files changed, 3 insertions, 2 deletions
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