]> source.dussan.org Git - sonarqube.git/commit
SONAR-1922 Improve ProfileEventsSensor
authorEvgeny Mandrikov <mandrikov@gmail.com>
Fri, 27 May 2011 23:35:21 +0000 (03:35 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Sat, 28 May 2011 00:54:47 +0000 (04:54 +0400)
commitd1573937217ad18aec5f0cbefd46897aa71879ae
treee7ef514c8edd5d9ca2fe757bdd69948720e6e150
parenta40990d95004e966ded0e740ebe422565b9209de
SONAR-1922 Improve ProfileEventsSensor

* Create event only when actual change of version or profile was done.

* Use only one form for event description: "ProfileA version X is used
  instead of ProfileB version Y".
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/ProfileEventsSensor.java
plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/sensors/ProfileEventsSensorTest.java