Skip to content

Commit

Permalink
spring-projectsGH-3026: SFTP Tests organize imports
Browse files Browse the repository at this point in the history
solves handler spec
  • Loading branch information
Joaquin Santana committed Oct 29, 2019
1 parent e25e45f commit 9e24ba6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Expand Up @@ -21,9 +21,9 @@
import org.springframework.integration.file.remote.session.SessionFactory;
import org.springframework.integration.file.support.FileExistsMode;
import org.springframework.integration.sftp.outbound.SftpMessageHandler;
import org.springframework.integration.sftp.session.SftpRemoteFileTemplate;

import com.jcraft.jsch.ChannelSftp;
import org.springframework.integration.sftp.session.SftpRemoteFileTemplate;

/**
* @author Artem Bilan
Expand Down
Expand Up @@ -20,8 +20,6 @@

import java.io.File;
import java.io.InputStream;
import java.nio.file.attribute.PosixFilePermission;
import java.nio.file.attribute.PosixFilePermissions;
import java.util.List;
import java.util.regex.Matcher;

Expand Down Expand Up @@ -171,8 +169,7 @@ public void testSftpOutboundFlowWithChmod() {
assertThat(permissions[0]).isEqualTo("rw");
assertThat(permissions[1]).isEqualTo("r");
assertThat(permissions[2]).isEqualTo("r");



registration.destroy();
}

Expand Down

0 comments on commit 9e24ba6

Please sign in to comment.