blob: c59471bb88ca3179adc72ddb5cb8aa30ca69c03b [file] [view]
When a class uses `@Inject` on a field, and that field is also assigned from an
`@Inject` constructor, then the field is assigned twice from the DI Injector.
This may result in 2 objects being created, where the first instance is assigned
then thrown away after the second injection.
A simple solution is to remove the `@Inject` annotation from the injected field.