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

Miscellaneous code cleanup #256

Merged
merged 12 commits into from
Mar 20, 2024
Merged

Miscellaneous code cleanup #256

merged 12 commits into from
Mar 20, 2024

Conversation

basil
Copy link
Member

@basil basil commented Mar 19, 2024

Fixing various IntelliJ warnings as I was reading this code.

Testing done

mvn clean verify -Dtest=InjectedTest

@basil basil added the internal label Mar 19, 2024
@basil basil requested a review from a team as a code owner March 19, 2024 23:32
Comment on lines +67 to 68
try (RiverWriter w = new RiverWriter(f, owner, Collections.emptySet())) {
w.writeObject(Collections.singletonList(new NotActuallySerializable()));
Copy link
Member

Choose a reason for hiding this comment

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

Can also start using Set.of / List.of / Map.of.

@jglick jglick merged commit 1e84e32 into jenkinsci:master Mar 20, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants