myEditor.closeFile((String) items[1]);
myEditor.closeFile(myFilePath, (String) items[1]);
    public boolean processCommand(String commandName, LoggingInputStream parameters) throws SVNException {        String pattern = (String) COMMANDS_MAP.get(commandName);        if (pattern == null) {            throw new SVNException("unknown command name: " + commandName);        }        if ("textdelta-chunk".equals(commandName)) {            if (myBuilder.getDiffWindow() == null) {                Object[] items = null;                try {                    items = SVNReader.parse(parameters, "(SB))", null);                } catch (Throwable th) {                    DebugLog.error(th);                } finally {	                  parameters.log();                }                byte[] bytes = (byte[]) items[1];                myBuilder.accept(bytes, 0);                if (myBuilder.getDiffWindow() != null) {                    myLenght = myBuilder.getDiffWindow().getNewDataLength();                    myDiffStream = myEditor.textDeltaChunk(myBuilder.getDiffWindow());                    if (myDiffStream == null) {                        myDiffStream = new OutputStream() {                            public void write(int b) {}                        };                    }                    if (myLenght == 0) {                        closeDiffStream();                    }                }            } else if (myDiffStream != null) {                if (myLenght > 0) {                    byte[] line = null;                    line = (byte[]) SVNReader.parse(parameters, "(sB))", null)[0];                    myLenght -= line.length;                    try {                        myDiffStream.write(line);                    } catch (IOException e) {                        throw new SVNException(e);                    }                }                if (myLenght == 0) {                    closeDiffStream();                }             }             return true;        }                boolean last = "close-edit".equals(commandName) || "abort-edit".equals(commandName);        Object[] items = SVNReader.parse(parameters, pattern, new Object[10]);                if ("target-rev".equals(commandName)) {            myEditor.targetRevision(SVNReader.getLong(items, 0));        } else if ("open-root".equals(commandName)) {                       myEditor.openRoot(SVNReader.getLong(items, 0));        } else if ("delete-entry".equals(commandName)) {                            myEditor.deleteEntry((String) items[0], SVNReader.getLong(items, 1));        } else if ("add-dir".equals(commandName)) {                            myEditor.addDir((String) items[0], (String) items[3], SVNReader.getLong(items, 4));        } else if ("open-dir".equals(commandName)) {                             myEditor.openDir((String) items[0], SVNReader.getLong(items, 3));        } else if ("change-dir-prop".equals(commandName)) {                    myEditor.changeDirProperty((String) items[1], (String) items[2]);        } else if ("close-dir".equals(commandName)) {            myEditor.closeDir();        } else if ("add-file".equals(commandName)) {            myEditor.addFile((String) items[0], (String) items[3], SVNReader.getLong(items, 4));        } else if ("open-file".equals(commandName)) {                            myEditor.openFile((String) items[0], SVNReader.getLong(items, 3));        } else if ("change-file-prop".equals(commandName)) {                            myEditor.changeFileProperty((String) items[1], (String) items[2]);        } else if ("close-file".equals(commandName)) {                            myEditor.closeFile((String) items[1]);        } else if ("apply-textdelta".equals(commandName)) {                            myBuilder.reset();            myLenght = 0;            myDiffStream = null;            myEditor.applyTextDelta((String) items[1]);                    } else if ("textdelta-end".equals(commandName)) {            myEditor.textDeltaEnd();        } else if ("close-edit".equals(commandName)) {            myEditor.closeEdit();        } else if ("abort-edit".equals(commandName)) {                            myEditor.abortEdit();        }        return !last;    }