HHH-8465 corrected check in EnversListenerDuplicationStrategy
This commit is contained in:
parent
9acb43599b
commit
40ac5094a1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue