Mercurial > 510Connectbot
comparison src/com/five_ten_sg/connectbot/transport/TN5250.java @ 133:b151d3eca95a
read deployment.connections on startup for new host entries
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 19 Jun 2014 15:48:52 -0700 |
parents | 265a4733edcb |
children | 4fe73e73d4d7 |
comparison
equal
deleted
inserted
replaced
132:265a4733edcb | 133:b151d3eca95a |
---|---|
412 | 412 |
413 host.setPort(port); | 413 host.setPort(port); |
414 String nickname = uri.getFragment(); | 414 String nickname = uri.getFragment(); |
415 | 415 |
416 if (nickname == null || nickname.length() == 0) { | 416 if (nickname == null || nickname.length() == 0) { |
417 nickname = getDefaultNickname(host.getUsername(), host.getHostname(), host.getPort())); | 417 nickname = getDefaultNickname(host.getUsername(), host.getHostname(), host.getPort()); |
418 } | 418 } |
419 host.setNickname(nickname); | 419 host.setNickname(nickname); |
420 | 420 |
421 return host; | 421 return host; |
422 } | 422 } |