if (target != as->mTarget)
if (property != as->u.as.mProperty)
InMemoryDataSource::HasAssertion(nsIRDFResource* source,                                 nsIRDFResource* property,                                 nsIRDFNode* target,                                 PRBool tv,                                 PRBool* hasAssertion){    if (! source)        return NS_ERROR_NULL_POINTER;    if (! property)        return NS_ERROR_NULL_POINTER;    if (! target)        return NS_ERROR_NULL_POINTER;    NS_AUTOLOCK(mLock);    for (Assertion* as = GetForwardArcs(source); as != nsnull; as = as->mNext) {        if (property != as->mProperty)            continue;        if (target != as->mTarget)            continue;        if (as->mTruthValue != tv)            continue;        // found it!        *hasAssertion = PR_TRUE;        return NS_OK;    }    // If we get here, we couldn't find the assertion    *hasAssertion = PR_FALSE;    return NS_OK;}