public void handleDAVResponse(DAVResponse response) { Map props = DAVUtil.filterProperties(response, null); String message = (String) props.get(SVNRevisionProperty.LOG); getOptions().putData(DAVRepository.this, key, message); currentEntry.setCommitMessage(message); }
public void handleDAVResponse(DAVResponse child) { String href = child.getHref(); String name = ""; if (parentPathSegments != SVNPathUtil.getSegmentsCount(href)) { name = SVNEncodingUtil.uriDecode(SVNPathUtil.tail(href)); } SVNNodeKind kind = SVNNodeKind.FILE; Object revisionStr = child.getPropertyValue(DAVElement.VERSION_NAME); long lastRevision = Long.parseLong(revisionStr.toString()); String sizeStr = (String) child.getPropertyValue(DAVElement.GET_CONTENT_LENGTH); long size = sizeStr == null ? 0 : Long.parseLong(sizeStr); if (child.getPropertyValue(DAVElement.RESOURCE_TYPE) == DAVElement.COLLECTION) { kind = SVNNodeKind.DIR; } String author = (String) child.getPropertyValue(DAVElement.CREATOR_DISPLAY_NAME); String dateStr = (String) child.getPropertyValue(DAVElement.CREATION_DATE); Date date = dateStr != null ? SVNTimeUtil.parseDate(dateStr) : null; if ("".equals(name)) { parent[0] = new SVNDirEntry(name, kind, size, false, lastRevision, date, author); parentVCC[0] = (String) child.getPropertyValue(DAVElement.VERSION_CONTROLLED_CONFIGURATION); } else { entries.add(new SVNDirEntry(name, kind, size, false, lastRevision, date, author)); vccs.add(child.getPropertyValue(DAVElement.VERSION_CONTROLLED_CONFIGURATION)); } }
                        public void handleDAVResponse(DAVResponse response) {                            Map props = DAVUtil.filterProperties(response, null);                            String message = (String) props.get(SVNRevisionProperty.LOG);                            getOptions().putData(DAVRepository.this, key, message);                            currentEntry.setCommitMessage(message);                        }