Fix PluginCommandModule detection of @PluginName
Guice can only call the setPluginName method automatically if it accepts a single argument. Delete the unused description string added by e51c428fe5ef3960f4990e1c0471d067783d4718. Change-Id: I3f53ec97f9492f6676d8ec079b86b522d1ac5787
This commit is contained in:
parent
16b41a3500
commit
0a40f5bbff
@ -26,7 +26,7 @@ public abstract class PluginCommandModule extends CommandModule {
|
||||
private CommandName command;
|
||||
|
||||
@Inject
|
||||
void setPluginName(@PluginName String name, final String descr) {
|
||||
void setPluginName(@PluginName String name) {
|
||||
this.command = Commands.named(name);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user