]> source.dussan.org Git - sonarqube.git/commit
SONAR-2126: Change API to work with file system of a project
authorEvgeny Mandrikov <mandrikov@gmail.com>
Wed, 26 Jan 2011 17:59:13 +0000 (20:59 +0300)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Thu, 27 Jan 2011 16:40:21 +0000 (19:40 +0300)
commitc2f90c84e3fef821bfdee686351375a2732ac06e
treeeb1e15d58e70136744a7d5d59844e4a2639aec50
parent815899837ca07904fe9dc9223b4a4e8ac486cb59
SONAR-2126: Change API to work with file system of a project

* Use language keys instead of objects.

* ProjectFileSystem now BatchComponent, so DefaultProjectFileSystem
  uses benefits from injections and some old code was removed from
  it to improve immutability.

* Small performance improvement for DefaultInputFile.
plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/JavaSourceImporter.java
plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/SquidSensor.java
sonar-batch/src/main/java/org/sonar/batch/MavenProjectBuilder.java
sonar-batch/src/main/java/org/sonar/batch/ProjectBatch.java
sonar-plugin-api/src/main/java/org/sonar/api/resources/DefaultProjectFileSystem.java
sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java
sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectFileSystem.java
sonar-plugin-api/src/test/java/org/sonar/api/resources/DefaultProjectFileSystemTest.java
sonar-plugin-api/src/test/java/org/sonar/api/test/MavenTestUtils.java
sonar-plugin-api/src/test/java/org/sonar/api/test/SimpleProjectFileSystem.java