grails-plugins/grails-cache — pull request #13 by candrews (2014-08-13 17:54:00+00:00)
Title: Compatible with Spring 4.1 due to API change

https://jira.spring.io/browse/SPR-11316 documents an API change to CacheAnnotationParser. It went from having one method:
Collection parseCacheAnnotations(AnnotatedElement ae);
to two:
Collection parseCacheAnnotations(Class type);
Collection parseCacheAnnotations(Method method);

This commit provides compatibility with both Spring < 4.1 and 4.1.