aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-10-11 16:29:43 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-10-11 16:29:52 +0200
commited9b24cca4de13e7df984f473663b003595d8f5d (patch)
tree58605f1c19676c3efef3d5ff09d7497d4dd0bace /plugins
parent2cfb8ded13140ba04818580307644b22491337f6 (diff)
downloadsonarqube-ed9b24cca4de13e7df984f473663b003595d8f5d.tar.gz
sonarqube-ed9b24cca4de13e7df984f473663b003595d8f5d.zip
SONAR-2657 export changed files in dry run report (JSON)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/ignore/scanner/SourceScanner.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/ignore/scanner/SourceScanner.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/ignore/scanner/SourceScanner.java
index 986271f1bd5..4bd4a6fd985 100644
--- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/ignore/scanner/SourceScanner.java
+++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/ignore/scanner/SourceScanner.java
@@ -73,6 +73,7 @@ public final class SourceScanner implements Sensor {
protected void parseDirs(Project project, boolean isTest) {
Charset sourcesEncoding = fileSystem.sourceCharset();
+ // TODO use InputFile
List<File> files;
List<File> dirs;
if (isTest) {
@@ -85,6 +86,7 @@ public final class SourceScanner implements Sensor {
for (File inputFile : files) {
try {
+ // TODO reuse InputFile.attribute(DefaultInputFile.COMPONENT_KEY ?
String componentKey = resolveComponent(inputFile, dirs, project, isTest);
if (componentKey != null) {