Skip to content

Weaken the type requirement on the instanceof used in the git-client plu...#32

Merged
ndeloof merged 1 commit intojenkinsci:masterfrom
mattmoor:master
Oct 29, 2013
Merged

Weaken the type requirement on the instanceof used in the git-client plu...#32
ndeloof merged 1 commit intojenkinsci:masterfrom
mattmoor:master

Conversation

@mattmoor
Copy link
Copy Markdown
Contributor

...gin to only rely on the object being a StandardUsernamePasswordCredentials.

The interface is both necessary and sufficient for the APIs used.

This is morally equivalent to how the private key logic is already using the SSHUserPrivateKey interface vs. a specific implementation.

…plugin to only rely on the object being a StandardUsernamePasswordCredentials.

The interface is both necessary and sufficient for the APIs used.

This is morally equivalent to how the private key logic is already using the SSHUserPrivateKey interface vs. a specific implementation.
@cloudbees-pull-request-builder
Copy link
Copy Markdown

plugins » git-client-plugin #137 SUCCESS
This pull request looks good

@jglick
Copy link
Copy Markdown
Member

jglick commented Oct 29, 2013

Looks right to me. @stephenc do you want to check this?

ndeloof added a commit that referenced this pull request Oct 29, 2013
Weaken the type requirement on the instanceof used in the git-client plu...
@ndeloof ndeloof merged commit 1e7208c into jenkinsci:master Oct 29, 2013
@stephenc
Copy link
Copy Markdown
Member

@jglick Yep agree should be merged, looks like @ndeloof agreed too

mattmoor added a commit to mattmoor/git-client-plugin that referenced this pull request Feb 20, 2014
…entials/

NOTE: This is the same change that I had made previously in this pull request: jenkinsci#32

I am not sure how or why my "merged" pull request does not appear in the commit history of the repo.

The original notes from PR#32 follow:

Weaken the type requirement on the instanceof used in the git-client plugin to only rely on the object being a StandardUsernamePasswordCredentials.

The interface is both necessary and sufficient for the APIs used.

This is morally equivalent to how the private key logic is already using the SSHUserPrivateKey interface vs. a specific implementation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants