diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2016-01-28 18:51:13 -0500 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org <gerrit@eclipse.org> | 2016-01-28 18:51:14 -0500 |
commit | 9400d0cb17e49999af318689e92b59f5f4d0156a (patch) | |
tree | 51ef77e136f58f45761bbcc2863122159048206c | |
parent | 7960fa87354aedbde0c1fedc771346286d6cac06 (diff) | |
parent | bd67084d2b4d9922b49b7bdd3dbbd3bac9cfb08d (diff) | |
download | jgit-9400d0cb17e49999af318689e92b59f5f4d0156a.tar.gz jgit-9400d0cb17e49999af318689e92b59f5f4d0156a.zip |
Merge "Prevent ChainingCredentialsProvider from adding delegated providers twice"
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/transport/ChainingCredentialsProvider.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ChainingCredentialsProvider.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ChainingCredentialsProvider.java index 3941d3c552..739ddccc73 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ChainingCredentialsProvider.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ChainingCredentialsProvider.java @@ -70,8 +70,6 @@ public class ChainingCredentialsProvider extends CredentialsProvider { public ChainingCredentialsProvider(CredentialsProvider... providers) { this.credentialProviders = new ArrayList<CredentialsProvider>( Arrays.asList(providers)); - for (CredentialsProvider p : providers) - credentialProviders.add(p); } /** |