Remove unneeded @SuppressWarnings("resource")
Change-Id: Ief5d5536fb34e55dfb14e3977f59b23823b2d132 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
@@ -36,7 +36,6 @@ public class SshSession {
|
||||
this.account = account;
|
||||
}
|
||||
|
||||
@SuppressWarnings("resource")
|
||||
public String exec(String command) throws JSchException, IOException {
|
||||
ChannelExec channel = (ChannelExec) getSession().openChannel("exec");
|
||||
try {
|
||||
|
Reference in New Issue
Block a user