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