public void cleanup() { if (tu != null) { String upldPath = tu.getUploadLocalPath(); if (upldPath != null) { File f = new File(upldPath); f.delete(); } } }
case UNRECOVERABLE_ERROR: if (uj.getTemplateUploader().getUploadLocalPath().indexOf("volume") > -1) { uj.cleanup(); if (uj.getTemplateUploader().getUploadLocalPath().indexOf("volume") > -1) { uj.cleanup();