]> source.dussan.org Git - sonarqube.git/commit
small refactoring of ComponentProvider
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Thu, 5 Nov 2015 14:44:11 +0000 (15:44 +0100)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Mon, 9 Nov 2015 15:34:20 +0000 (16:34 +0100)
commit48da48d8e13f59d8846b6affc99aa87171293a3e
tree47d13e7e3bbd4856c4718c34596f819adfe64067
parentb115df733b619d9d5ebc1cdb783e06da48f14a59
small refactoring of ComponentProvider

change so that initialization state verification is responsability of ComponentProvider implementation, not user of ComponentProvider
add NoComponentProvider implementation so that componentProvider property can be never null
server/sonar-server/src/test/java/org/sonar/server/computation/component/AbstractComponentProvider.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/component/ComponentProvider.java
server/sonar-server/src/test/java/org/sonar/server/computation/component/MutableDbIdsRepositoryRule.java
server/sonar-server/src/test/java/org/sonar/server/computation/component/NoComponentProvider.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/component/TreeComponentProvider.java
server/sonar-server/src/test/java/org/sonar/server/computation/component/TreeRootHolderComponentProvider.java
server/sonar-server/src/test/java/org/sonar/server/computation/measure/MeasureRepositoryRule.java