commit | 14bfe08757fa6267df2844c7365af9fb9ebc1578 | [log] [tgz] |
---|---|---|
author | Matthias Sohn <matthias.sohn@sap.com> | Sat Jan 04 16:06:54 2020 +0100 |
committer | Matthias Sohn <matthias.sohn@sap.com> | Mon Jan 06 11:40:05 2020 +0100 |
tree | e21496764cc78123993cb7e362e25d3ce62d609f | |
parent | d9e957dc2485d4a0737e537298e575365ec5eb2c [diff] |
JschConfigSessionFactory: fix boxing warning Change-Id: I1735033c56b444a9a7160cb7df89292a228d5b34 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/JschConfigSessionFactory.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/JschConfigSessionFactory.java index 4e712a5..7924ec8 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/JschConfigSessionFactory.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/JschConfigSessionFactory.java
@@ -278,7 +278,8 @@ if (s.getPort() == SSH_PORT) { return s.getHost(); } - return String.format("[%s]:%d", s.getHost(), s.getPort()); //$NON-NLS-1$ + return String.format("[%s]:%d", s.getHost(), //$NON-NLS-1$ + Integer.valueOf(s.getPort())); } private void copyConfigValueToSession(Session session, Config cfg,