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

Applying plugin modernization guidance #50

Merged
merged 5 commits into from
Aug 24, 2023

Conversation

aneveux
Copy link
Member

@aneveux aneveux commented Aug 18, 2023

Hello folks 👋

While following the modernization guide for plugins I noticed this plugin could use some of the updates.

This PR contains the following:

  • Update of the Jenkinsfile to support JDK 17
  • Update the plugin parent version
  • Update the BOM version
  • Add more spotbugs checks and fix the associated new issues
  • Remove JSR-305

Please feel free to let me know if that PR needs any additional modification.

Thanks a lot for the review!

Testing done

Submitter checklist

Preview Give feedback

@aneveux aneveux requested a review from a team as a code owner August 18, 2023 08:13
@aneveux aneveux changed the title Applying plugin modernization guidance, upgrading most dependencies versions Applying plugin modernization guidance Aug 18, 2023
@jglick
Copy link
Member

jglick commented Aug 18, 2023

Resolve conflicts with #49 please.

Comment on lines -43 to -54
private boolean containsUnclassifiedJobsFilter(View view) {
if (view instanceof ListView) {
ListView listView = (ListView)view;
for (ViewJobFilter filter: listView.getJobFilters()) {
if (filter instanceof UnclassifiedJobsFilter) {
return true;
}
}
}
return false;
}

Copy link
Member Author

Choose a reason for hiding this comment

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

This was an unused private method.

pom.xml Show resolved Hide resolved
src/main/java/hudson/views/UserRelevanceFilter.java Outdated Show resolved Hide resolved
src/main/java/hudson/views/UserRelevanceFilter.java Outdated Show resolved Hide resolved
@aneveux aneveux requested a review from jglick August 22, 2023 07:45
pom.xml Outdated Show resolved Hide resolved
Co-authored-by: Jesse Glick <[email protected]>
@aneveux aneveux requested a review from jglick August 24, 2023 09:36
@jglick jglick merged commit 2f41742 into jenkinsci:master Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants