spring-projects/spring-framework — pull request #452 by snicoll (2014-01-28 09:22:59+00:00)
Title: Fix method signature mismatch in Quartz

Quartz 2.2 provides methods to register `JobListener` and `TriggerListener` that the previous 2.0.x generations do not define. However, a method taking an extra list of `KeyMatcher` instances exists since 2.0.0

This commit uses this method instead of the one that was introduced as from 2.2.0 to ensure compatibility with previous 2.0.x releases.

It is hard to test such a change in the current infrastructure so a separate project was used to validate that the scheduler is properly created when those listeners are present. This has been tested against `1.8.6`, `2.0.0`, `2.1.0` and `2.2.0`.

Issue: SPR-11362