[bisq-network/bisq] use singleton annotation instead of binding as singleton (#3058)

Christoph Sturm notifications at github.com
Wed Aug 7 08:11:04 UTC 2019


It's not really orphan classes, it's just how guice works. Binding a class in the module is for classes that you don't have the sourcecode for. If you add an `Inject` annotation and the class is a singleton you need to add a `Singleton` annotation too. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/3058#issuecomment-518990702
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190807/0ab8aadc/attachment.html>


More information about the bisq-github mailing list