HHH-8465 corrected check in EnversListenerDuplicationStrategy

This commit is contained in:
Brett Meyer 2013-09-04 18:24:25 -04:00
parent c3e32509e5
commit 2dc4eff34e
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,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