String ignoredProperty = dir.getProperties("", false).getPropertyValue( SVNProperty.IGNORE); if (ignoredProperty == null) { return false; } for (StringTokenizer tokens = new StringTokenizer(ignoredProperty, "\r\n"); tokens.hasMoreTokens();) { String token = tokens.nextToken(); if (token.trim().length() == 0) { continue; } if (DefaultSVNOptions.matches(token, name)) { return true; } } return false;
return dir != null && dir.isIgnored(name);
    private boolean isIgnored(SVNDirectory dir, String name)            throws SVNException {        if (myOptions.isIgnored(name)) {            return true;        }        String ignoredProperty = dir.getProperties("", false).getPropertyValue(                SVNProperty.IGNORE);        if (ignoredProperty == null) {            return false;        }        for (StringTokenizer tokens = new StringTokenizer(ignoredProperty,                "\r\n"); tokens.hasMoreTokens();) {            String token = tokens.nextToken();            if (token.trim().length() == 0) {                continue;            }            if (DefaultSVNOptions.matches(token, name)) {                return true;            }        }        return false;    }