mirror of
https://github.com/google/nomulus
synced 2026-02-04 12:02:30 +00:00
Remove unnecessary "throws" declarations
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201058582
This commit is contained in:
@@ -18,7 +18,6 @@ import static com.google.common.base.Preconditions.checkNotNull;
|
||||
|
||||
import com.jcraft.jsch.ChannelSftp;
|
||||
import java.io.Closeable;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* {@link ChannelSftp} wrapper that implements {@link Closeable}.
|
||||
@@ -41,7 +40,7 @@ final class JSchSftpChannel implements Closeable {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
public void close() {
|
||||
channel.disconnect();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user