thechiselgroup/biomixer — comment on commit d7ea0024188cf7eec12aaaad911593eb2f5499bf
File: src/org/thechiselgroup/biomixer/client/visualization_component/graph/layouts/TreeFactory.java line 15
By lgrammel:

I usually avoid hard-coding the singleton pattern. It is enforced it via dependency injection when necessary. Usually, it is fine to create several instances, even when one would do the job. This makes it easier to use interface and polymorphism.