DATAKV-163 - Use Spring 5 compatible version of AnnotatedElementUtils.findAnnotationAttributes.

This commit is contained in:
Christoph Strobl
2017-01-31 13:17:50 +01:00
parent 32d8252cda
commit d637e26421

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015-2016 the original author or authors.
* Copyright 2015-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -330,8 +330,8 @@ enum AnnotationBasedKeySpaceResolver implements KeySpaceResolver {
this.declaringClass = declaringClass;
this.composedAnnotation = composedAnnotation;
this.annotation = annotation;
this.annotationAttributes = AnnotatedElementUtils.getMergedAnnotationAttributes(rootDeclaringClass, annotation
.annotationType().getName());
this.annotationAttributes = AnnotatedElementUtils.findMergedAnnotationAttributes(rootDeclaringClass,
annotation.annotationType(), false, false);
}
public Class<?> getRootDeclaringClass() {