Comment #12 on issue 271 by isaac.q.shum: Scopes.SINGLETON + null doesn't work http://code.google.com/p/google-guice/issues/detail?id=271
1. Just using NULL = new Object() is fine to me as well. 2. Using the Reference wrapper makes the double-checked locking code easier to read. I can change this to a sentinel though.. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-guice-dev?hl=en -~----------~----~----~----~------~----~------~--~---
