if (parentURL == null || entry.getPropertyValue(SVNProperty.URL) == null ||
if (parentURL == null || entry == null || entry.getPropertyValue(SVNProperty.URL) == null ||
    public static boolean isSwitched(String parentURL, ISVNEntry entry) throws SVNException {        if (parentURL == null || entry.getPropertyValue(SVNProperty.URL) == null ||                entry.isObstructed()) {            return false;        }        String expectedURL = PathUtil.append(parentURL, PathUtil.encode(entry.getName()));        return !expectedURL.equals(entry.getPropertyValue(SVNProperty.URL));    }