SVNFileUtil.deleteFile(child); SVNFileUtil.rename(tmpChild, child); } finally { SVNFileUtil.deleteFile(tmpChild);
    private static void translateFiles(File directory) throws SVNException {        File[] children = directory.listFiles();        byte[] eol = new byte[] {'\n'};        for (int i = 0; children != null && i < children.length; i++) {            File child = children[i];            File tmpChild = null;            try {                tmpChild = SVNFileUtil.createUniqueFile(directory, ".repos", ".tmp");                if (child.isFile()) {                    SVNTranslator.translate(child, tmpChild, eol, null, false, true);                }                SVNFileUtil.deleteFile(child);                SVNFileUtil.rename(tmpChild, child);            } finally {                SVNFileUtil.deleteFile(tmpChild);            }        }    }