mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user