INT-2657 - Spelling Error in AbstractMailReceiver

* Also fixed spelling error in *PollableJmsChannelTests*
This commit is contained in:
Gunnar Hillert
2012-07-09 11:47:19 -04:00
committed by Gary Russell
parent ee0dcd8020
commit 39ee7a4429
2 changed files with 5 additions and 5 deletions

View File

@@ -203,9 +203,9 @@ public class PollableJmsChannelTests {
}
public static class SampleInterceptor implements ChannelInterceptor {
private final boolean preRecieveFlag;
public SampleInterceptor(boolean preRecieveFlag){
this.preRecieveFlag = preRecieveFlag;
private final boolean preReceiveFlag;
public SampleInterceptor(boolean preReceiveFlag){
this.preReceiveFlag = preReceiveFlag;
}
public Message<?> preSend(Message<?> message, MessageChannel channel) {
@@ -217,7 +217,7 @@ public class PollableJmsChannelTests {
}
public boolean preReceive(MessageChannel channel) {
return this.preRecieveFlag;
return this.preReceiveFlag;
}
public Message<?> postReceive(Message<?> message, MessageChannel channel) {

View File

@@ -263,7 +263,7 @@ public abstract class AbstractMailReceiver extends IntegrationObjectSupport impl
this.fetchMessages(messages);
}
List<Message> copiedMessages = new LinkedList<Message>();
logger.debug("Recieved " + messages.length + " messages");
logger.debug("Received " + messages.length + " messages");
for (int i = 0; i < messages.length; i++) {
if (this.selectorExpression != null) {