|
@@ -1,7 +1,7 @@
|
|
|
package edu.nju.model;
|
|
|
|
|
|
public enum BugSeverity {
|
|
|
- 待定(0),较轻(1),一般(2),严重(3),紧急(4);
|
|
|
+ 其他(0),待定(1),较轻(2),一般(3),严重(4),紧急(5);
|
|
|
|
|
|
private int id;
|
|
|
|
|
@@ -22,8 +22,4 @@ public enum BugSeverity {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
- public static void main(String[] args) {
|
|
|
- BugSeverity bugSeveritsy=BugSeverity.getValue(2);
|
|
|
- System.out.println(bugSeveritsy.toString());
|
|
|
- }
|
|
|
}
|