Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haas-java-client
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
FIJI
haas-java-client
Commits
aee39901
Commit
aee39901
authored
Nov 07, 2018
by
Jan Kožusznik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ISS-1323: address MR
parent
c06f61b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
HaaSFileTransferImp.java
...va/cz/it4i/fiji/haas_java_client/HaaSFileTransferImp.java
+0
-4
No files found.
haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/HaaSFileTransferImp.java
View file @
aee39901
...
...
@@ -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
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment