Timer timer = this.findTimer(id);
if (timer != null) {
<BUG>timer.cancel();
adminp.replaceItemValue("txtTimerStatus", "Stopped");
adminp = documentService.save(adminp);
logger.info("[AdminPService] Timer ID=" + id + " STOPPED.");</BUG>
}
return adminp;
}
private Timer findTimer(String id) {

Timer timer = this.findTimer(id);
if (timer != null) {
timer.cancel();
logger.info("cancelTimer - id:" + id + " successful.");
} else {
logger.info("cancelTimer - id:" + id + " failed - timer does no longer exist.");
}
if (adminp != null) {
adminp.replaceItemValue("txtTimerStatus", "Stopped");
}
return adminp;
}
private Timer findTimer(String id) {
