Skip to content

Commit

Permalink
Fix problem with MockSessions for ftp service
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoellnitz committed May 6, 2016
1 parent f4a9859 commit 0f9dabb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ftp/test/org/tangram/ftp/test/MockSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import java.net.Socket;
import java.util.Map;
import org.mockftpserver.core.MockFtpServerException;
import org.mockftpserver.core.command.AbstractTrackingCommandHandler;
import org.mockftpserver.core.command.Command;
import org.mockftpserver.core.session.DefaultSession;
import org.slf4j.Logger;
Expand All @@ -50,7 +51,7 @@ public class MockSession extends DefaultSession {
* @param commandHandlers - the Map of command name -> CommandHandler. It is assumed that the
* command names are all normalized to upper case. See {@link Command#normalizeName(String)}.
*/
public MockSession(Socket controlSocket, Map<String, Object> commandHandlers) {
public MockSession(Socket controlSocket, Map<String, AbstractTrackingCommandHandler> commandHandlers) {
super(controlSocket, commandHandlers);
} // ()

Expand Down

0 comments on commit 0f9dabb

Please sign in to comment.