From 9f8293b9c9ba92a2408bdb5b4d8a5536e143c1ad Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sun, 1 Oct 2023 13:05:25 +0200 Subject: [PATCH] Fix copy-n-paste error --- .../org/springframework/expression/spel/ExpressionState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-expression/src/main/java/org/springframework/expression/spel/ExpressionState.java b/spring-expression/src/main/java/org/springframework/expression/spel/ExpressionState.java index 890fc10453..338b18dad3 100644 --- a/spring-expression/src/main/java/org/springframework/expression/spel/ExpressionState.java +++ b/spring-expression/src/main/java/org/springframework/expression/spel/ExpressionState.java @@ -93,7 +93,7 @@ public class ExpressionState { public ExpressionState(EvaluationContext context, TypedValue rootObject, SpelParserConfiguration configuration) { Assert.notNull(context, "EvaluationContext must not be null"); - Assert.notNull(context, "'rootObject' must not be null"); + Assert.notNull(rootObject, "'rootObject' must not be null"); Assert.notNull(configuration, "SpelParserConfiguration must not be null"); this.relatedContext = context; this.rootObject = rootObject;