Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Sep 13, 2023
1 parent 125ef11 commit 09e73a3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@
import org.apache.sshd.server.auth.password.UserAuthPasswordFactory;
import org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider;
import org.apache.sshd.server.session.ServerSession;
import org.apache.sshd.server.subsystem.SubsystemFactory;
import org.junit.After;
import org.junit.AfterClass;
import org.apache.sshd.sftp.server.SftpSubsystemFactory;

import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
Expand Down Expand Up @@ -96,7 +96,7 @@ public boolean authenticate(String username, String password,
});

sshd.setSubsystemFactories(
Collections.singletonList(new org.apache.sshd.sftp.server.SftpSubsystemFactory()));
Collections.singletonList(new SftpSubsystemFactory()));

sshd.start();
port = sshd.getPort();
Expand Down

0 comments on commit 09e73a3

Please sign in to comment.