Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JENKINS-36139: Use try-with-resource for RevWalk in JGit4 #291

Merged
merged 1 commit into from Jul 6, 2016

Conversation

Projects
None yet
3 participants
@bfh-reseiwe
Copy link

commented Jul 6, 2016

Supersedes pull request #288.

This resolves but JENKINS-36139.

JGit4 is targeted towards java 7, and RevWalk is now a Closeable, hence the release() method is renamed to close(). Use the new try-with-resource syntax for RevWalk.

@rsandell

@rsandell

This comment has been minimized.

Copy link
Member

commented Jul 6, 2016

👍 just waiting for Jenkins to provide the build result before merging.

@rsandell rsandell merged commit d12e1e2 into jenkinsci:2.22-beta Jul 6, 2016

1 check passed

Jenkins This pull request looks good
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.