Teach Guice how to find a suitable constructor for GCListener
When installing the plugin, gerrit complained that no suitable
constructor for GCListener could not be found [1] and failed to
install the plugin. Hence, we mark the constructor that Guice should
pick up. Thereby, the plugin can get installed again.
[1] The error message was:
Could not find a suitable constructor in
com.googlesource.gerrit.plugins.quota.GCListener. Classes must have
either one (and only one) constructor annotated with @Inject or a
zero-argument constructor that is not private.
Change-Id: I6974ae7ab0f3908d5fa957d1d70dd5ab24b8d86a
1 file changed