diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-10-16 12:50:47 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-10-16 12:50:47 +0200 |
commit | 1f6e967b9881608f97e80a4a5d2f1c766eba013e (patch) | |
tree | 69cad86ed8336dc74642830e6ecdbea67c2850d6 | |
parent | 0acb6e7876f66f9ec6718eb94d7bbadf7089e628 (diff) | |
download | sonarqube-1f6e967b9881608f97e80a4a5d2f1c766eba013e.tar.gz sonarqube-1f6e967b9881608f97e80a4a5d2f1c766eba013e.zip |
Do not re-index files when adding source directories
We should re-index but let's try to keep the previous behavior in order to not break backward-compatibility.
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/DefaultModuleFileSystem.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/DefaultModuleFileSystem.java b/sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/DefaultModuleFileSystem.java index 28c89ce60da..b1b75858284 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/DefaultModuleFileSystem.java +++ b/sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/DefaultModuleFileSystem.java @@ -129,7 +129,6 @@ public class DefaultModuleFileSystem implements ModuleFileSystem, Startable { @Deprecated void addSourceDir(File dir) { sourceDirs.add(dir); - index(); } /** @@ -138,7 +137,6 @@ public class DefaultModuleFileSystem implements ModuleFileSystem, Startable { @Deprecated void addTestDir(File dir) { testDirs.add(dir); - index(); } @Override |