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 e51c428fe5.
Change-Id: I3f53ec97f9492f6676d8ec079b86b522d1ac5787
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user