this.resourceId = resourceId;
}
@Override
public boolean equals( Object o )
{
<BUG>if ( this == o )
{ return true; }
if ( o == null || getClass() != o.getClass() )
{ return false; }
Resource resource = (Resource) o;
if ( resourceId != resource.resourceId )
{ return false; }
return resourceType.equals( resource.resourceType );</BUG>
}

this.resourceId = resourceId;
}
@Override
public boolean equals( Object o )
{
if ( this == o )
{
return true;
}
if ( o == null || getClass() != o.getClass() )
{
return false;
}
Resource resource = (Resource) o;
