}
return SUCCESS;
} catch (RuntimeException saverror) {
- logger.error("Reason:", saverror);
+ LOG.error("Reason:", saverror);
return ERROR;
} catch (InvalidPropertyException error) {
return INPUT;
Publication edited = step.getDocument(Integer.valueOf(index));
ConvertsRelation export = getPublicationService().attach(edited, parse[parse.length - 1]);
- if (logger.isInfoEnabled())
- logger.info("Moving \"" + upfile.getName() + "\" to \""
+ if (LOG.isInfoEnabled())
+ LOG.info("Moving \"" + upfile.getName() + "\" to \""
+ updir.getPath() + "\".");
upfile.renameTo(export.getTo().asFile());
mystudy.update(edited);
return SUCCESS;
} catch (Exception error) {
- logger.error("Reason:", error);
+ LOG.error("Reason:", error);
return ERROR;
}
}
mystudy.remove(doctag); // Updates the presentation
return SUCCESS;
} catch (RuntimeException saverror) {
- logger.error("Reason:", saverror);
+ LOG.error("Reason:", saverror);
return ERROR;
}
}