Upgrade to Boot 1.4.1
- Align related spring train deps - Modify some other deps to get correct versions - Some testing changes as boot 1.4.1 shuffled some test stuff around. - Fixed deprecations with newer boot and framework - Fixes #256
This commit is contained in:
@@ -85,7 +85,7 @@ public class StateMachineConfiguration<S, E> extends
|
||||
AnnotationAttributes scopeAttributes = AnnotationAttributes.fromMap(importingClassMetadata.getAnnotationAttributes(
|
||||
Scope.class.getName(), false));
|
||||
if (scopeAttributes != null) {
|
||||
String scope = scopeAttributes.getAliasedString("value", Scope.class, enableStateMachineEnclosingClass);
|
||||
String scope = scopeAttributes.getString("value");
|
||||
if (StringUtils.hasText(scope)) {
|
||||
beanDefinitionBuilder.setScope(scope);
|
||||
}
|
||||
|
||||
@@ -438,7 +438,7 @@ public class StateMachineMethodInvokerHelper<T, S, E> extends AbstractExpression
|
||||
} else if (annotationType.equals(ExtendedStateVariable.class)) {
|
||||
AnnotationAttributes annotationAttributes = AnnotationAttributes
|
||||
.fromMap(AnnotationUtils.getAnnotationAttributes(mappingAnnotation));
|
||||
String key = annotationAttributes.getAliasedString("value", ExtendedStateVariable.class, null);
|
||||
String key = annotationAttributes.getString("value");
|
||||
sb.append("variables.get('" + key + "')");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user