Skip to content

Fixed a few SpotBugs Warnings.#250

Merged
leerho merged 3 commits intomainfrom
fix_some_spotbugs_warnings
Jan 28, 2025
Merged

Fixed a few SpotBugs Warnings.#250
leerho merged 3 commits intomainfrom
fix_some_spotbugs_warnings

Conversation

@leerho
Copy link
Member

@leerho leerho commented Jan 28, 2025

Plus Minor update to README.md
Plus fix workflow triggers

arena.close();
} //The Try-With-Resources will throw since it is already closed
catch (IllegalStateException e) { /* OK */ }
assertFalse(mem.isAlive());
Copy link
Contributor

Choose a reason for hiding this comment

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

mem can be null if something throws before the assignment

}
catch (IllegalStateException e) { /* expected */ }
assertFalse(mem2.isAlive());
assertFalse(mem.isAlive());
Copy link
Contributor

Choose a reason for hiding this comment

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

mem can be null

@leerho leerho merged commit c45f58d into main Jan 28, 2025
4 checks passed
@leerho leerho deleted the fix_some_spotbugs_warnings branch January 28, 2025 19:22
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.

2 participants