if (propName.startsWith(SVNProperty.SVN_WC_PREFIX)) {
if (propName != null && propName.startsWith(SVNProperty.SVN_WC_PREFIX)) {
    public void doGetProperty(File path, String propName, SVNRevision pegRevision, SVNRevision revision, boolean recursive, ISVNPropertyHandler handler) throws SVNException {        if (propName.startsWith(SVNProperty.SVN_WC_PREFIX)) {            SVNErrorManager.error("svn: '" + propName + "' is a wcprop , thus not accessible to clients");        }        if (revision == null || !revision.isValid()) {            revision = SVNRevision.WORKING;        }        SVNWCAccess wcAccess = createWCAccess(path);        try {            wcAccess.open(true, recursive);            if (revision != SVNRevision.WORKING && revision != SVNRevision.BASE) {                String url = wcAccess.getTargetEntryProperty(SVNProperty.URL);                if (pegRevision == null || !pegRevision.isValid()) {                    pegRevision = SVNRevision.parse(wcAccess.getTargetEntryProperty(SVNProperty.REVISION));                }                revision = SVNRevision.create(getRevisionNumber(path, revision));                doGetProperty(url, propName, pegRevision, revision, recursive, handler);                return;            }            // local prop.            doGetLocalProperty(wcAccess.getAnchor(), wcAccess.getTargetName(), propName, revision, recursive, handler);        } finally {            wcAccess.close(true, recursive);        }    }