Skip to content

Conversation

@ic0ns
Copy link
Contributor

@ic0ns ic0ns commented Jun 19, 2025

Summary

  • Fixed SING_SINGLETON_GETTER_NOT_SYNCHRONIZED SpotBugs issue in BulkScanWorkerManager
  • Implemented thread-safe singleton pattern using double-checked locking with volatile field

- Add volatile keyword to instance field
- Implement double-checked locking for thread-safe singleton initialization
- Resolves SpotBugs issue: SING_SINGLETON_GETTER_NOT_SYNCHRONIZED
@ic0ns ic0ns merged commit 1ec8f34 into main Jun 19, 2025
11 checks passed
@ic0ns ic0ns deleted the fix-spotbugs-singleton-getter branch June 19, 2025 07:16
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