in commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/FromBinderRuleSet.java [189:232]
public boolean equals( final Object obj )
{
if ( this == obj )
{
return true;
}
if ( obj == null )
{
return false;
}
if ( getClass() != obj.getClass() )
{
return false;
}
final Key other = (Key) obj;
if ( namespaceURI == null )
{
if ( other.getNamespaceURI() != null )
{
return false;
}
}
else if ( !namespaceURI.equals( other.getNamespaceURI() ) )
{
return false;
}
if ( pattern == null )
{
if ( other.getPattern() != null )
{
return false;
}
}
else if ( !pattern.equals( other.getPattern() ) )
{
return false;
}
return true;
}