Please sign in to comment.
* Made the static instances volatile so all threads needs to read their state before accessing them * Made the initialize method synchronized so threads have to wait for the first method to finish inialisation before attempting and finding it already initialized. Signed-off-by: Egon Willighagen <email@example.com>
- Loading branch information...
Showing with 5 additions and 4 deletions.