Remove unused constructor arg from UserDestinationMH

This commit is contained in:
Rossen Stoyanchev
2014-01-22 11:54:45 -05:00
parent 499c858cd4
commit 8ee2a2d18c
4 changed files with 6 additions and 14 deletions

View File

@@ -53,8 +53,7 @@ public class UserDestinationMessageHandlerTests {
MockitoAnnotations.initMocks(this);
this.registry = new DefaultUserSessionRegistry();
DefaultUserDestinationResolver resolver = new DefaultUserDestinationResolver(this.registry);
this.messageHandler = new UserDestinationMessageHandler(new StubMessageChannel(),
new StubMessageChannel(), this.brokerChannel, resolver);
this.messageHandler = new UserDestinationMessageHandler(new StubMessageChannel(), this.brokerChannel, resolver);
}