Fix failing test

This commit is contained in:
Rossen Stoyanchev 2014-02-05 22:02:59 -05:00
parent 46c0e45130
commit f636ccb5eb
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ public class SimpMessagingTemplateTests {
@Test
public void convertAndSendWithCustomHeader() {
Map<String, Object> headers = Collections.singletonMap("key", "value");
Map<String, Object> headers = Collections.<String, Object>singletonMap("key", "value");
this.messagingTemplate.convertAndSend("/foo", "data", headers);
List<Message<byte[]>> messages = this.messageChannel.getMessages();