if(person!=null) {
ln = byApprover.get(person);
if(ln==null) {
- ln = new ArrayList<Approval>();
+ ln = new ArrayList<>();
byApprover.put(app.getApprover(), ln);
}
ln.add(app);
if(person!=null) {
ln = byUser.get(person);
if(ln==null) {
- ln = new ArrayList<Approval>();
+ ln = new ArrayList<>();
byUser.put(app.getUser(), ln);
}
ln.add(app);
if(ticket!=null) {
ln = byTicket.get(ticket);
if(ln==null) {
- ln = new ArrayList<Approval>();
+ ln = new ArrayList<>();
byTicket.put(app.getTicket(), ln);
}
ln.add(app);