return(rv);
return(PR_FALSE);
FileSystemDataSource::isDirURI(nsIRDFResource* source){    nsresult    rv;    const char  *uri = nsnull;    rv = source->GetValueConst(&uri);    if (NS_FAILED(rv)) return(PR_FALSE);    nsCOMPtr<nsIURI> aIURI;    if (NS_FAILED(rv = NS_NewURI(getter_AddRefs(aIURI), uri)))	    return(rv);    if (!aIURI) return(PR_FALSE);    nsCOMPtr<nsIFileURL>    fileURL = do_QueryInterface(aIURI);    if (!fileURL)   return(PR_FALSE);        nsCOMPtr<nsIFile> aDir;    rv = fileURL->GetFile(getter_AddRefs(aDir));    if (NS_FAILED(rv))  return(PR_FALSE);    PRBool isDirFlag = PR_FALSE;    rv = aDir->IsDirectory(&isDirFlag);    if (NS_FAILED(rv)) return(PR_FALSE);    return(isDirFlag);}