public SVNStatusType directoryDeleted(final String path) throws SVNException {
public SVNStatusType directoryDeleted(final String path) {
    public SVNStatusType directoryDeleted(final String path) throws SVNException {        SVNDirectory parentDir = getParentDirectory(path);        if (parentDir == null) {            return SVNStatusType.MISSING;        }        String name = SVNPathUtil.tail(path);        File targetFile = parentDir.getFile(name);        if (targetFile.isDirectory()) {            // check for normal entry?            final ISVNEventHandler oldDispatcher = myWCAccess                    .getEventDispatcher();            myWCAccess.setEventDispatcher(new ISVNEventHandler() {                public void handleEvent(SVNEvent event, double progress) {                    String eventPath = event.getPath();                    eventPath = eventPath.replace(File.separatorChar, '/');                    if (event.getPath().equals(path)) {                        return;                    }                    if (oldDispatcher != null) {                        oldDispatcher.handleEvent(event, progress);                    }                }                public void checkCancelled() throws SVNCancelException {                    if (oldDispatcher != null) {                        oldDispatcher.checkCancelled();                    }                }            });            try {                if (!myIsForce) {                    try {                        parentDir.canScheduleForDeletion(name);                    } catch (SVNException e) {                        SVNDebugLog.logInfo(e);                        return SVNStatusType.OBSTRUCTED;                    }                }                if (!myIsDryRun) {                    try {                        parentDir.scheduleForDeletion(name);                    } catch (SVNException e) {                        return SVNStatusType.OBSTRUCTED;                    }                }            } finally {                myWCAccess.setEventDispatcher(oldDispatcher);            }            return SVNStatusType.CHANGED;        } else if (targetFile.isFile()) {            return SVNStatusType.OBSTRUCTED;        }        return SVNStatusType.MISSING;    }