From 5bad12c86c10e4b942566f52748354382f704e9d Mon Sep 17 00:00:00 2001 From: David Syer Date: Thu, 6 May 2010 10:08:24 +0000 Subject: [PATCH] Remove irrelevant TODO --- .../integration/handler/MethodInvokingMessageProcessor.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/org.springframework.integration/src/main/java/org/springframework/integration/handler/MethodInvokingMessageProcessor.java b/org.springframework.integration/src/main/java/org/springframework/integration/handler/MethodInvokingMessageProcessor.java index d196e0aa4d..685db2c6e3 100644 --- a/org.springframework.integration/src/main/java/org/springframework/integration/handler/MethodInvokingMessageProcessor.java +++ b/org.springframework.integration/src/main/java/org/springframework/integration/handler/MethodInvokingMessageProcessor.java @@ -161,8 +161,6 @@ public class MethodInvokingMessageProcessor extends AbstractMessageProcessor { Expression expression = candidate.getExpression(); Object result = this.evaluateExpression(expression, message); if (this.requiresReply) { - // TODO: remove this if SpEL is modified to throw an EvaluationException instead - // e.g. we can invoke getValue(this.evaluationContext, message, candidate.getReturnType); Assert.notNull(result, "Expression evaluation result was null, but this processor requires a reply."); } return result;