Refactor/findannotation (#1104)

* refactor: renamed findAnnotation method that searches recursive to findAnnotationRecursive

* CHG: searching namedQueries & indices also recursive in superclasses

* FIX: Using the AnnotationBase methods on several places and documented them
This commit is contained in:
Roland Praml authored and Rob Bygrave committed 2017-09-01 20:25:10 +12:00
1 parent e908d16ba8
commit 46cdc84e6b
10 files changed
+87 -60

No files matched your search

@@ -52,7 +52,7 @@ public class DefaultChangeLogRegister implements ChangeLogRegister {
* Find and return the ChangeLog annotation in the inheritance hierarchy.
*/
private ChangeLog getChangeLog(Class<?> beanType) {
return AnnotationBase.findAnnotation(beanType, ChangeLog.class);
return AnnotationBase.findAnnotationRecursive(beanType, ChangeLog.class);
}
/**