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

Forward compatibility with Guice 7 #830

Merged
merged 1 commit into from
Jan 16, 2024
Merged

Conversation

basil
Copy link
Member

@basil basil commented Jan 10, 2024

Without dropping compatibility with Guice 6 (currently delivered by Jenkins core), add support for Guice 7.

@basil basil added the internal label Jan 10, 2024
@basil basil requested a review from a team as a code owner January 10, 2024 20:58
@@ -1,7 +1,7 @@
package org.jenkinsci.plugins.workflow.cps.steps;

import edu.umd.cs.findbugs.annotations.CheckForNull;
import javax.inject.Inject;
import jakarta.inject.Inject;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI

is a weird old idiom that is completely gratuitous as you can either use Jenkins.get or JenkinsRule.jenkins.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed that the existing code is gratuitous. The intended scope of this set of PRs was to do a simple bulk package rename rather than a deep code cleanup of existing code.

@jglick jglick added dependencies Pull requests that update a dependency file and removed internal labels Jan 16, 2024
@jglick jglick enabled auto-merge January 16, 2024 20:28
@jglick jglick merged commit f6091ab into jenkinsci:master Jan 16, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants