mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-10 05:08:18 -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>
|
* @author Karol Gliniecki <karol.gliniecki@googlemail.com>
|
||||||
*/
|
*/
|
||||||
public class HelpHandler extends BaseHandler {
|
public class HelpHandler extends BaseHandler
|
||||||
|
{
|
||||||
private String desc = "lists all available commands";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute /help
|
* Execute /help
|
||||||
*/
|
*/
|
||||||
@Override
|
@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();
|
CommandParser cp = CommandParser.getInstance();
|
||||||
|
|
||||||
StringBuffer commandList = new StringBuffer("available commands: \n");
|
StringBuffer commandList = new StringBuffer("available commands: \n");
|
||||||
@ -77,7 +75,6 @@ public class HelpHandler extends BaseHandler {
|
|||||||
@Override
|
@Override
|
||||||
public String getDescription()
|
public String getDescription()
|
||||||
{
|
{
|
||||||
return desc;
|
return "lists all available commands";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user