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

Annotate set-rootdir mojo as threadsafe and update code to make it so… #32

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

trautmane
Copy link
Contributor

…. Although I'm guessing concurrent set calls for the property would be ok (since they would set it to the same thing), I went ahead and actually made the code thread safe. My motivation for this is to remove "The following goals are not marked as thread-safe" warnings from my multi-thread scijava maven builds.

…. Although I'm guessing concurrent set calls for the property would be ok (since they would set it to the same thing), I went ahead and actually made the code thread safe. My motivation for this is to remove "The following goals are not marked as thread-safe" warnings from my multi-thread scijava maven builds.
@ctrueden
Copy link
Member

ctrueden commented Nov 6, 2023

Nice! Thanks a lot, @trautmane!

@ctrueden ctrueden merged commit d001d7e into scijava:master Nov 6, 2023
1 check passed
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