Browse Source

Merge "Prevent ChainingCredentialsProvider from adding delegated providers twice"

stable-4.3
Matthias Sohn 9 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
9400d0cb17
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/transport/ChainingCredentialsProvider.java

2
org.eclipse.jgit/src/org/eclipse/jgit/transport/ChainingCredentialsProvider.java

@ -70,8 +70,6 @@ public class ChainingCredentialsProvider extends CredentialsProvider {
public ChainingCredentialsProvider(CredentialsProvider... providers) { public ChainingCredentialsProvider(CredentialsProvider... providers) {
this.credentialProviders = new ArrayList<CredentialsProvider>( this.credentialProviders = new ArrayList<CredentialsProvider>(
Arrays.asList(providers)); Arrays.asList(providers));
for (CredentialsProvider p : providers)
credentialProviders.add(p);
} }
/** /**

Loading…
Cancel
Save