ChangePath[] cp = new ChangePath[cpaths.size()]; int i = 0;
Collection clientChangePaths = new ArrayList();
    public static LogMessage createLogMessage(SVNLogEntry logEntry) {        if(logEntry == null){            return null;        }        Map cpaths = logEntry.getChangedPaths();        ChangePath[] cp = new ChangePath[cpaths.size()];        int i = 0;        for (Iterator iter = cpaths.keySet().iterator(); iter.hasNext();) {            String path = (String) iter.next();            SVNLogEntryPath entryPath = (SVNLogEntryPath)cpaths.get(path);            if(entryPath == null){                cp[i] = null;            }else{                cp[i] = new ChangePath(path, entryPath.getCopyRevision(), entryPath.getCopyPath(), entryPath.getType());            }            i++;        }        return new LogMessage(logEntry.getMessage(), logEntry.getDate(),                logEntry.getRevision(), logEntry.getAuthor(), cp);    }