]> source.dussan.org Git - sonarqube.git/commit
SONAR-3343 Improve AnnotationRuleParser for better consistency
authorFabrice Bellingard <bellingard@gmail.com>
Wed, 21 Mar 2012 13:43:43 +0000 (14:43 +0100)
committerFabrice Bellingard <bellingard@gmail.com>
Wed, 21 Mar 2012 13:43:43 +0000 (14:43 +0100)
commit89eddc1fcf964498e7d92ac309b62998cbdd607f
tree2b18fd4d30075354486413de5d1d26f14164d5e5
parent06a9f756793c6403b4bf67d5b61e86a7b57e404e
SONAR-3343 Improve AnnotationRuleParser for better consistency

When a rule is annotated, its name and its description fields
should be saved as NULL if they are not not provided.
sonar-plugin-api/src/main/java/org/sonar/api/rules/AnnotationRuleParser.java
sonar-plugin-api/src/test/java/org/sonar/api/rules/AnnotationRuleParserTest.java