diff options
author | Tobias Pfeifer <to.pfeifer@sap.com> | 2013-02-01 16:05:31 +0100 |
---|---|---|
committer | Tobias Pfeifer <to.pfeifer@sap.com> | 2013-02-01 16:05:31 +0100 |
commit | 2c40482d0f8da91ed9d5468a04a02c0c636b674c (patch) | |
tree | 7d03a1b2a7705bf58fa23ec385f1a111af4cb078 | |
parent | dcddaa943e68b1e6521e7fa44151babd21e12a7a (diff) | |
download | jgit-2c40482d0f8da91ed9d5468a04a02c0c636b674c.tar.gz jgit-2c40482d0f8da91ed9d5468a04a02c0c636b674c.zip |
Fixed problems occuring when changing user in gerrit configuration
Bug: 399238
Change-Id: I255634bc9b3681f292190051daed22a4771d6e57
Signed-off-by: Tobias Pfeifer <to.pfeifer@sap.com>
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java index cdd7fcde83..9befb92755 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java @@ -614,7 +614,7 @@ public class URIish implements Serializable { } if (getHost() != null) { - if (getUser() != null) + if (getUser() != null && getUser().length() > 0) r.append('@'); r.append(escape(getHost(), false, escapeNonAscii)); if (getScheme() != null && getPort() > 0) { |