DNtDEntity ndEntity = ct.getDNtD(); if (!ndEntity.getEvents().isEmpty()) { // remove all old data List aDNDEvents = ndEntity.