Commit aee39901 authored by Jan Kožusznik's avatar Jan Kožusznik

ISS-1323: address MR

parent c06f61b2
......@@ -45,7 +45,6 @@ class HaaSFileTransferImp implements HaaSFileTransfer {
try (InputStream is = file.getInputStream()) {
scpClient.upload(is, destFile, file.getLength(), file.getLastTime(),
progress);
}
catch (JSchException | IOException e) {
throw new HaaSClientException("An upload of " + file + " to " + destFile +
......@@ -64,9 +63,6 @@ class HaaSFileTransferImp implements HaaSFileTransfer {
fileName + "'";
scpClient.download(fileToDownload, rFile, progress);
}
catch (final InterruptedIOException e) {
throw e;
}
catch (JSchException | IOException e) {
throw new HaaSClientException("A download of " + fileName + " to " +
workDirectory + " failed: " + e.getMessage());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment