Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Commit

Permalink
Small tweak to SSH support null checks
Browse files Browse the repository at this point in the history
  • Loading branch information
kdvolder committed Nov 25, 2015
1 parent c0cbcad commit 87eeb5b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -79,7 +79,7 @@ public SshHost getSshHost() {
port = Integer.parseInt(pieces[1]);
}
}
if (host!=null || fingerPrint!=null) {
if (host!=null) {
return new SshHost(host, port, fingerPrint);
}
return null;
Expand Down

0 comments on commit 87eeb5b

Please sign in to comment.