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
|
@Override
|
||||||
public boolean areMatch(Object listener, Object original) {
|
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
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue