formatting

This commit is contained in:
Mark Fisher
2011-05-05 17:14:58 -04:00
parent 4c4de3d69f
commit 2b331e1a14

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2010 the original author or authors.
* Copyright 2002-2011 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.
@@ -50,6 +50,11 @@ public class MethodInvokingMessageHandler extends AbstractMessageHandler {
this.componentType = componentType;
}
@Override
public String getComponentType() {
return this.componentType;
}
@Override
protected void handleMessageInternal(Message<?> message) throws Exception {
Object result = processor.processMessage(message);
@@ -58,9 +63,5 @@ public class MethodInvokingMessageHandler extends AbstractMessageHandler {
+ "have a void return, but '" + this + "' received a value: [" + result + "]");
}
}
@Override
public String getComponentType() {
return this.componentType;
}
}