/* @return -1 for unknown */ public long getLastModified() throws GetLastModifiedException { long result; result = Long.MIN_VALUE; for (Node node : nodes) { if (node instanceof WebdavNode) { // skip getLastModified - it's not supported by Webservice Stub Servlet } else { result = Math.max(result, node.getLastModified()); } } return result == Long.MIN_VALUE ? -1 : result; }