}
- public static final TreeMap<String,List<Notification>> data = new TreeMap<String,List<Notification>>();
+ public static final TreeMap<String,List<Notification>> data = new TreeMap<>();
public static final Date now = new Date();
public final String user;
Notification not = creator.create(row);
List<Notification> ln = data.get(not.user);
if(ln==null) {
- ln = new ArrayList<Notification>();
+ ln = new ArrayList<>();
data.put(not.user, ln);
}
ln.add(not);