String ls = execCommand(new String[] { LS_COMMAND, "-ld", link.getAbsolutePath() });
String ls = null; try { if (link.canRead()) { ls = execCommand(new String[] { LS_COMMAND, "-ld", link.getAbsolutePath() }); } } catch (Throwable th) { SVNDebugLog.getDefaultLog().info(th); }
    public static String getSymlinkName(File link) {        if (isWindows || link == null) {            return null;        }        String ls = execCommand(new String[] { LS_COMMAND, "-ld", link.getAbsolutePath() });        if (ls == null || ls.lastIndexOf(" -> ") < 0) {            return null;        }        String[] attributes = ls.split("\\s+");        return attributes[attributes.length - 1];    }