protected static boolean areEqualEventSubscriptions ( EventSubscriptionEntity subscription1 , EventSubscriptionEntity subscription2 ) { return valuesEqual ( subscription1 . getEventType ( ) , subscription2 . getEventType ( ) ) && valuesEqual ( subscription1 . getEventName ( ) , subscription2 . getEventName ( ) ) && valuesEqual ( subscription1 . getActivityId ( ) , subscription2 . getActivityId ( ) ) ; }
Checks if the parameters are the same apart from the execution id