|
|
@@ -79,7 +79,7 @@ public enum NoticeTypes {
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
- private static Map<Integer, NoticeTypes> status = new HashMap<Integer, NoticeTypes>();
|
|
|
+ private static final Map<Integer, NoticeTypes> status = new HashMap<Integer, NoticeTypes>();
|
|
|
|
|
|
static {
|
|
|
for (NoticeTypes value : NoticeTypes.values()) {
|
|
|
@@ -103,7 +103,7 @@ public enum NoticeTypes {
|
|
|
}
|
|
|
|
|
|
public static Integer getCount(){
|
|
|
- Integer count=0;
|
|
|
+ int count=0;
|
|
|
for(NoticeTypes x:NoticeTypes.values()){
|
|
|
if(x!=null)count++;
|
|
|
}
|