Fix typos

See gh-2019
This commit is contained in:
Hanope
2018-11-19 12:43:58 +09:00
committed by Stephane Nicoll
parent 729ce4108d
commit bfb49c7249
76 changed files with 137 additions and 137 deletions

View File

@@ -38,7 +38,7 @@ public interface DestinationResolvingMessageRequestReplyOperations<D> extends Me
* Resolve the given destination name to a destination and send the given message,
* receive a reply and return it.
* @param destinationName the name of the target destination
* @param requestMessage the mesage to send
* @param requestMessage the message to send
* @return the received message, possibly {@code null} if the message could not
* be received, for example due to a timeout
*/

View File

@@ -42,13 +42,13 @@ import static org.mockito.Mockito.*;
*/
public class BrokerMessageHandlerTests {
private TestBrokerMesageHandler handler;
private TestBrokerMessageHandler handler;
@Before
public void setup() {
MockitoAnnotations.initMocks(this);
this.handler = new TestBrokerMesageHandler();
this.handler = new TestBrokerMessageHandler();
}
@@ -116,7 +116,7 @@ public class BrokerMessageHandlerTests {
}
@Test
public void publishBrokerUnavailableEventWhenAlreadyUnvailable() {
public void publishBrokerUnavailableEventWhenAlreadyUnavailable() {
this.handler.publishBrokerAvailableEvent();
this.handler.publishBrokerUnavailableEvent();
@@ -126,7 +126,7 @@ public class BrokerMessageHandlerTests {
}
private static class TestBrokerMesageHandler extends AbstractBrokerMessageHandler
private static class TestBrokerMessageHandler extends AbstractBrokerMessageHandler
implements ApplicationEventPublisher {
private final List<Message<?>> messages = new ArrayList<>();
@@ -134,7 +134,7 @@ public class BrokerMessageHandlerTests {
private final List<Boolean> availabilityEvents = new ArrayList<>();
private TestBrokerMesageHandler() {
private TestBrokerMessageHandler() {
super(mock(SubscribableChannel.class), mock(MessageChannel.class), mock(SubscribableChannel.class));
setApplicationEventPublisher(this);
}