A handful of tests of more arcane scenarios. Fixed issues as found.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2975 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-05-24 21:45:41 +00:00
parent 6bb9a0ab2a
commit 6b52660c8a
6 changed files with 470 additions and 32 deletions

View File

@@ -240,4 +240,30 @@ public abstract class AVMNode
* @param lPath The Lookup.
*/
public abstract String toString(Lookup lPath);
/* (non-Javadoc)
* @see java.lang.Object#equals(java.lang.Object)
*/
@Override
public boolean equals(Object obj)
{
if (this == obj)
{
return true;
}
if (!(obj instanceof AVMNode))
{
return false;
}
return getDataBean().equals(((AVMNode)obj).getDataBean());
}
/* (non-Javadoc)
* @see java.lang.Object#hashCode()
*/
@Override
public int hashCode()
{
return getDataBean().hashCode();
}
}