Skip to content

Commit d90f20c

Browse files
artembilanspring-builds
authored andcommitted
Use withAssignmentDisabled() for IntSimpEvalCtxFactoryBean
(cherry picked from commit feef055)
1 parent 4889100 commit d90f20c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-integration-core/src/main/java/org/springframework/integration/config/IntegrationSimpleEvaluationContextFactoryBean.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018-2022 the original author or authors.
2+
* Copyright 2018-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -82,6 +82,7 @@ public SimpleEvaluationContext getObject() {
8282
SimpleEvaluationContext.forPropertyAccessors(accessorArray)
8383
.withTypeConverter(getTypeConverter())
8484
.withInstanceMethods()
85+
.withAssignmentDisabled()
8586
.build();
8687
for (Entry<String, Method> functionEntry : getFunctions().entrySet()) {
8788
evaluationContext.setVariable(functionEntry.getKey(), functionEntry.getValue());

0 commit comments

Comments
 (0)