HHH-8465 corrected check in EnversListenerDuplicationStrategy

This commit is contained in:
Brett Meyer 2013-09-04 18:19:59 -04:00
parent 9acb43599b
commit 40ac5094a1
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public class EnversListenerDuplicationStrategy implements DuplicationStrategy {
@Override
public boolean areMatch(Object listener, Object original) {
return listener.getClass().equals( original ) && EnversListener.class.isInstance( listener );
return listener.getClass().equals( original.getClass() ) && EnversListener.class.isInstance( listener );
}
@Override