public class FindbugsLevelUtils {
<BUG>public RulePriority from(String priority) {
</BUG>
if ("1".equals(priority)) {
<BUG>return RulePriority.BLOCKER;
</BUG>
}
if ("2".equals(priority)) {
<BUG>return RulePriority.MAJOR;
</BUG>
}

public class FindbugsLevelUtils {
public String from(String priority) {
if ("1".equals(priority)) {
return Severity.BLOCKER;
}
if ("2".equals(priority)) {
return Severity.MAJOR;
}
