Пример #1
0
 @Override
 public void clear() {
   if (sftp != null)
     try {
       sftp.close();
     } catch (IOException e) {
       Throwables.propagate(e);
     }
 }
Пример #2
0
 @Override
 public void close() throws IOException {
   super.close();
   if (sftp != null) sftp.close();
 }
Пример #3
0
 @Override
 public void clear() throws IOException {
   if (sftp != null) sftp.close();
 }