diff options
author | Godin <mandrikov@gmail.com> | 2010-12-07 17:42:40 +0000 |
---|---|---|
committer | Godin <mandrikov@gmail.com> | 2010-12-07 17:42:40 +0000 |
commit | 7fc9f662522fdd85f71b13e307f38a087a86f1ac (patch) | |
tree | c045e45badb9f0790bdfdf184b1d46c7ad1f5845 /sonar-deprecated | |
parent | 7b14f36d5afc4b1a1730307d2dd2b62700b16b59 (diff) | |
download | sonarqube-7fc9f662522fdd85f71b13e307f38a087a86f1ac.tar.gz sonarqube-7fc9f662522fdd85f71b13e307f38a087a86f1ac.zip |
SONAR-1829: Use severity instead of priority
Diffstat (limited to 'sonar-deprecated')
-rw-r--r-- | sonar-deprecated/src/main/java/org/sonar/api/checks/checkers/MessageDispatcher.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-deprecated/src/main/java/org/sonar/api/checks/checkers/MessageDispatcher.java b/sonar-deprecated/src/main/java/org/sonar/api/checks/checkers/MessageDispatcher.java index 47c48f28a66..5885b2f5035 100644 --- a/sonar-deprecated/src/main/java/org/sonar/api/checks/checkers/MessageDispatcher.java +++ b/sonar-deprecated/src/main/java/org/sonar/api/checks/checkers/MessageDispatcher.java @@ -99,7 +99,7 @@ public class MessageDispatcher { Violation violation = Violation.create(new Rule(check.getRepositoryKey(), check.getTemplateKey()), resource); violation.setLineId(message.getLine()); violation.setMessage(message.getText(Locale.ENGLISH)); - violation.setPriority(RulePriority.fromCheckPriority(check.getPriority())); + violation.setSeverity(RulePriority.fromCheckPriority(check.getPriority())); context.saveViolation(violation); } @@ -108,4 +108,4 @@ public class MessageDispatcher { checksByChecker.clear(); } -}
\ No newline at end of file +} |