}
- public SocketState asyncDispatch(SocketStatus status) throws IOException {
+ public SocketState asyncDispatch(SocketStatus status) {
RequestInfo rp = request.getRequestProcessor();
try {
* @param actionCode Type of the action
* @param param Action parameter
*/
+ @Override
public void action(ActionCode actionCode, Object param) {
if (actionCode == ActionCode.ACTION_COMMIT) {
public abstract void destroy() throws Exception;
public String adjustRelativePath(String path, String relativeTo) {
- File f = new File(path);
+ String newPath = path;
+ File f = new File(newPath);
if ( !f.isAbsolute()) {
- path = relativeTo + File.separator + path;
- f = new File(path);
+ newPath = relativeTo + File.separator + newPath;
+ f = new File(newPath);
}
if (!f.exists()) {
- getLog().warn("configured file:["+path+"] does not exist.");
+ getLog().warn("configured file:["+newPath+"] does not exist.");
}
- return path;
+ return newPath;
}
public String defaultIfNull(String val, String defaultValue) {