anderx пре 1 година
родитељ
комит
58eac52794
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/main/java/com/goafanti/common/enums/NoticeTypes.java

+ 2 - 2
src/main/java/com/goafanti/common/enums/NoticeTypes.java

@@ -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++;
         }