public boolean equals()

in commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/FromBinderRuleSet.java [60:89]


        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 ( !Objects.equals( namespaceURI, other.getNamespaceURI() ) )
            {
                return false;
            }

            if ( !Objects.equals( pattern, other.getPattern() ) )
            {
                return false;
            }

            return true;
        }