]> source.dussan.org Git - sonarqube.git/commit
Fix scheduling of ViolationDecorator
authorsimonbrandhof <simon.brandhof@gmail.com>
Wed, 27 Apr 2011 21:41:28 +0000 (23:41 +0200)
committersimonbrandhof <simon.brandhof@gmail.com>
Wed, 27 Apr 2011 21:43:05 +0000 (23:43 +0200)
commitf4e12a9527a48da48784dce1345f1014509c19e9
tree5cc7e9df5696347330ee778235027b8a7418d0cf
parentec6b3ca5aea613d856fe5631728a34db9b4a2c73
Fix scheduling of ViolationDecorator

ViolationPersisterDecorator must be executed before computing measures on violations, so the flag switched_off is correctly loaded from database.
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/CloseReviewsDecorator.java
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/ViolationsDecorator.java
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/NewViolationsDecorator.java
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/ViolationPersisterDecorator.java