aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2017-08-02 14:13:40 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2017-08-04 14:58:16 +0200
commit9ad1582eadfd88239c359bd4cad50d589f65c2a3 (patch)
tree60a27072f6acf3fe7053199769d07f6bb1f4f78d /sonar-scanner-engine/src
parent343758acd64fd2318a35c5f55c6511cf8b2f6467 (diff)
downloadsonarqube-9ad1582eadfd88239c359bd4cad50d589f65c2a3.tar.gz
sonarqube-9ad1582eadfd88239c359bd4cad50d589f65c2a3.zip
Fix quality flaws
Diffstat (limited to 'sonar-scanner-engine/src')
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/scanner/phases/AbstractPhaseExecutor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/phases/AbstractPhaseExecutor.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/phases/AbstractPhaseExecutor.java
index 02232592b42..9cb8512f6b7 100644
--- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/phases/AbstractPhaseExecutor.java
+++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/phases/AbstractPhaseExecutor.java
@@ -126,7 +126,7 @@ public abstract class AbstractPhaseExecutor {
eventBus.fireEvent(new BatchStepEvent(stepName, true));
for (InputFile inputFile : fs.inputFiles(fs.predicates().all())) {
- issueExclusionsLoader.addMulticriteriaPatterns(inputFile.relativePath(), inputFile.key());
+ issueExclusionsLoader.addMulticriteriaPatterns(((DefaultInputFile) inputFile).getModuleRelativePath(), inputFile.key());
}
eventBus.fireEvent(new BatchStepEvent(stepName, false));