mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-09 20:58:02 -05:00
Some code cleanup
This commit is contained in:
parent
28d20d8499
commit
a6c6ada378
@ -18,16 +18,14 @@ import android.content.Intent;
|
||||
*
|
||||
* @author Karol Gliniecki <karol.gliniecki@googlemail.com>
|
||||
*/
|
||||
public class HelpHandler extends BaseHandler {
|
||||
|
||||
private String desc = "lists all available commands";
|
||||
|
||||
public class HelpHandler extends BaseHandler
|
||||
{
|
||||
/**
|
||||
* Execute /help
|
||||
*/
|
||||
@Override
|
||||
public void execute(String[] params, Server server, Conversation conversation, IRCService service) throws CommandException {
|
||||
|
||||
public void execute(String[] params, Server server, Conversation conversation, IRCService service) throws CommandException
|
||||
{
|
||||
CommandParser cp = CommandParser.getInstance();
|
||||
|
||||
StringBuffer commandList = new StringBuffer("available commands: \n");
|
||||
@ -77,7 +75,6 @@ public class HelpHandler extends BaseHandler {
|
||||
@Override
|
||||
public String getDescription()
|
||||
{
|
||||
return desc;
|
||||
return "lists all available commands";
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user