]> source.dussan.org Git - sonarqube.git/commit
rename Counter#aggregate(LeafContext) to initialize(InitContext)
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Mon, 24 Aug 2015 16:17:36 +0000 (18:17 +0200)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Sat, 29 Aug 2015 13:58:41 +0000 (15:58 +0200)
commitfa8f525260a4f77840c882170122b6586ccfeb39
treec25bbadef72ed73492517d758c9dc64934b1a90d
parent2879d869c19d9058e69e2f1db67d537c394f918b
rename Counter#aggregate(LeafContext) to initialize(InitContext)

this emphasis that this is really an initialization method and that it can be called on FILE or PROJECT_VIEW component but also, in the futur on a SUBVIEW (case of processing of partial trees of Views Components)
29 files changed:
server/sonar-server/src/main/java/org/sonar/server/computation/formula/AverageFormula.java
server/sonar-server/src/main/java/org/sonar/server/computation/formula/Counter.java
server/sonar-server/src/main/java/org/sonar/server/computation/formula/CounterInitializationContext.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/formula/DistributionFormula.java
server/sonar-server/src/main/java/org/sonar/server/computation/formula/FormulaExecutorComponentVisitor.java
server/sonar-server/src/main/java/org/sonar/server/computation/formula/LeafAggregateContext.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/computation/formula/counter/IntSumCounter.java
server/sonar-server/src/main/java/org/sonar/server/computation/formula/counter/LongSumCounter.java
server/sonar-server/src/main/java/org/sonar/server/computation/formula/coverage/CoverageUtils.java
server/sonar-server/src/main/java/org/sonar/server/computation/formula/coverage/ElementsAndCoveredElementsCounter.java
server/sonar-server/src/main/java/org/sonar/server/computation/formula/coverage/ElementsAndCoveredElementsVariationCounter.java
server/sonar-server/src/main/java/org/sonar/server/computation/formula/coverage/LinesAndConditionsWithUncoveredCounter.java
server/sonar-server/src/main/java/org/sonar/server/computation/formula/coverage/LinesAndConditionsWithUncoveredVariationCounter.java
server/sonar-server/src/main/java/org/sonar/server/computation/formula/coverage/SingleWithUncoveredCounter.java
server/sonar-server/src/main/java/org/sonar/server/computation/formula/coverage/SingleWithUncoveredVariationCounter.java
server/sonar-server/src/main/java/org/sonar/server/computation/step/CommentMeasuresStep.java
server/sonar-server/src/main/java/org/sonar/server/computation/step/DuplicationMeasuresStep.java
server/sonar-server/src/main/java/org/sonar/server/computation/step/LanguageDistributionMeasuresStep.java
server/sonar-server/src/main/java/org/sonar/server/computation/step/NewCoverageMeasuresStep.java
server/sonar-server/src/main/java/org/sonar/server/computation/step/UnitTestMeasuresStep.java
server/sonar-server/src/test/java/org/sonar/server/computation/formula/AverageFormulaTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/formula/DistributionFormulaTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/formula/IntSumFormulaTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/formula/LongSumFormulaTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/formula/ReportFormulaExecutorComponentVisitorTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/formula/ViewsFormulaExecutorComponentVisitorTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/formula/counter/IntSumCounterTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/formula/counter/LongSumCounterTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/formula/coverage/CoverageUtilsTest.java