208209210211212213214215216217218
} } // replace the existing entry with the new one dp.removeEntry(de); dp.addEntry(de); dm.savePlan(); redirectToRun(response); }
329330331332333334335336337338339
if (dp.getEntry(de.getRunnerName()) != null) { request.setAttribute("error", "Duplicate name"); return false; } dp.addEntry(de); return true; } protected void doRemoveRunner(HttpServletRequest request, HttpServletResponse response)