gerrit/gerrit-gpg
Patrick Hiesel 2b9574c785 Adapt the use of @Inject and @AssistedInject
This change adapts our use of @Inject and @AssistedInject to be in-line
with what the Guice documentation governs [0, 1].

Specifically, @Inject should be used even if the constructor has
@Assisted parameters as long as it is the only injected constructor in
that class. @AssistedInject should be used if there are multiple
constructors with @Assisted parameters.

[0] https://google.github.io/guice/api-docs/4.1/javadoc/index.html?com/google/inject/assistedinject/FactoryModuleBuilder.html
[1] https://google.github.io/guice/api-docs/4.1/javadoc/com/google/inject/assistedinject/AssistedInject.html

Change-Id: I725df1e294d0758f4c27f8b86ec26c21adeb3d8f
2017-03-23 09:20:09 +00:00
..
src Adapt the use of @Inject and @AssistedInject 2017-03-23 09:20:09 +00:00
BUILD Ship BouncyCastle in the .war files. 2017-02-15 13:48:57 +01:00