Skip to content

Commit 5308dc9

Browse files
committed
Remove unnecessary "throws IOException"
The IOException in the methods signature is misleading. The method never throws an IOException.
1 parent 0db21cc commit 5308dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/github/stefanbirkner/fakesftpserver/rule/FakeSftpServerRuleTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ private static void uploadFile(
847847
FakeSftpServerRule server,
848848
String pathAsString,
849849
byte[] content
850-
) throws JSchException, SftpException, IOException {
850+
) throws JSchException, SftpException {
851851
Session session = connectToServer(server);
852852
ChannelSftp channel = connectSftpChannel(session);
853853
try {

0 commit comments

Comments
 (0)