if ("2".equals(priority)) {
<BUG>return RulePriority.MAJOR;
</BUG>
}
if ("3".equals(priority)) {
<BUG>return RulePriority.INFO;
</BUG>
}
throw new IllegalArgumentException("Priority not supported: " + priority);
}

if ("2".equals(priority)) {
return Severity.MAJOR;
}
if ("3".equals(priority)) {
return Severity.INFO;
}
throw new IllegalArgumentException("Priority not supported: " + priority);
