]> source.dussan.org Git - sonarqube.git/commit
SONAR-3209 Add new batch component - FileLinesContextFactory
authorEvgeny Mandrikov <mandrikov@gmail.com>
Thu, 9 Feb 2012 17:11:53 +0000 (21:11 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Thu, 9 Feb 2012 18:48:17 +0000 (22:48 +0400)
commite476635c3816598feefd88517b6f12421b807a0c
treef6ab574ee7d62f7a97c27a2c19620af18782422e
parentc3bc6982b7e165304e269d7b7ef309a05148be98
SONAR-3209 Add new batch component - FileLinesContextFactory

* As was discussed with Simon: better to have new beta class
  than new beta method.

* This also provides ability to use this factory from Decorator.
13 files changed:
plugins/sonar-squid-java-plugin/src/main/java/org/sonar/java/ast/visitor/FileLinesVisitor.java
plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/SonarAccessor.java
plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/SquidSensor.java
plugins/sonar-squid-java-plugin/src/test/java/org/sonar/java/ast/visitor/FileLinesVisitorTest.java
plugins/sonar-squid-java-plugin/src/test/java/org/sonar/plugins/squid/SquidSensorTest.java
sonar-batch/src/main/java/org/sonar/batch/DefaultFileLinesContext.java
sonar-batch/src/main/java/org/sonar/batch/DefaultFileLinesContextFactory.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/DefaultSensorContext.java
sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchModule.java
sonar-batch/src/test/java/org/sonar/batch/DefaultFileLinesContextTest.java
sonar-plugin-api/src/main/java/org/sonar/api/batch/SensorContext.java
sonar-plugin-api/src/main/java/org/sonar/api/measures/FileLinesContext.java
sonar-plugin-api/src/main/java/org/sonar/api/measures/FileLinesContextFactory.java [new file with mode: 0644]