1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-16 14:05:07 -05:00

Some cleanup in org.yaaic.command.handler.*

This commit is contained in:
Sebastian Kaspari 2010-04-06 22:09:07 +02:00
parent d53dacfc32
commit e33cfd18d5
18 changed files with 27 additions and 20 deletions

View File

@ -77,7 +77,6 @@ public class DCCHandler extends BaseHandler
return "/dcc SEND <nickname> <file>"; return "/dcc SEND <nickname> <file>";
} }
/** /**
* Description of /dcc * Description of /dcc
*/ */

View File

@ -59,12 +59,12 @@ public class DeopHandler extends BaseHandler
return "/voice <nickname>"; return "/voice <nickname>";
} }
/** /**
* Description of /voice * Description of /voice
*/ */
@Override @Override
public String getDescription() { public String getDescription()
{
return "Give a user voice status"; return "Give a user voice status";
} }
} }

View File

@ -59,12 +59,12 @@ public class DevoiceHandler extends BaseHandler
return "/devoice <nickname>"; return "/devoice <nickname>";
} }
/** /**
* Description of /devoice * Description of /devoice
*/ */
@Override @Override
public String getDescription() { public String getDescription()
{
return "Remove voice status from a user"; return "Remove voice status from a user";
} }
} }

View File

@ -67,12 +67,12 @@ public class EchoHandler extends BaseHandler
return "/echo <text>"; return "/echo <text>";
} }
/** /**
* Description of /echo * Description of /echo
*/ */
@Override @Override
public String getDescription() { public String getDescription()
{
return "Print text to window"; return "Print text to window";
} }
} }

View File

@ -76,6 +76,6 @@ public class HelpHandler extends BaseHandler
@Override @Override
public String getDescription() public String getDescription()
{ {
return "lists all available commands"; return "Lists all available commands";
} }
} }

View File

@ -63,6 +63,6 @@ public class JoinHandler extends BaseHandler
@Override @Override
public String getDescription() public String getDescription()
{ {
return "join a channel"; return "Join a channel";
} }
} }

View File

@ -65,7 +65,8 @@ public class KickHandler extends BaseHandler
* Description of /kick * Description of /kick
*/ */
@Override @Override
public String getDescription() { public String getDescription()
return "kicks a user"; {
return "Kicks a user";
} }
} }

View File

@ -78,6 +78,9 @@ public class MeHandler extends BaseHandler
return "/me <text>"; return "/me <text>";
} }
/**
* Description of /me
*/
@Override @Override
public String getDescription() public String getDescription()
{ {

View File

@ -59,6 +59,9 @@ public class ModeHandler extends BaseHandler
return "/mode <channel> <mode>"; return "/mode <channel> <mode>";
} }
/**
* Description of /mode
*/
@Override @Override
public String getDescription() public String getDescription()
{ {

View File

@ -80,7 +80,6 @@ public class NamesHandler extends BaseHandler
return "/names"; return "/names";
} }
/** /**
* Description of /names * Description of /names
*/ */

View File

@ -55,7 +55,6 @@ public class NickHandler extends BaseHandler
return "/nick <nickname>"; return "/nick <nickname>";
} }
/** /**
* Description of /nick * Description of /nick
*/ */

View File

@ -75,7 +75,6 @@ public class NoticeHandler extends BaseHandler
return "/notice <nickname> <message>"; return "/notice <nickname> <message>";
} }
/** /**
* Description of /notice * Description of /notice
*/ */

View File

@ -59,12 +59,12 @@ public class OpHandler extends BaseHandler
return "/op <nickname>"; return "/op <nickname>";
} }
/** /**
* Description of /deop * Description of /deop
*/ */
@Override @Override
public String getDescription() { public String getDescription()
{
return "Give a user operator status"; return "Give a user operator status";
} }
} }

View File

@ -63,8 +63,12 @@ public class PartHandler extends BaseHandler
return "/part [<channel>]"; return "/part [<channel>]";
} }
/**
* Description of /part
*/
@Override @Override
public String getDescription() { public String getDescription()
{
return "leave the current channel"; return "leave the current channel";
} }
} }

View File

@ -79,6 +79,9 @@ public class QueryHandler extends BaseHandler
return "/query <nickname>"; return "/query <nickname>";
} }
/**
* Description of /query
*/
@Override @Override
public String getDescription() public String getDescription()
{ {

View File

@ -55,7 +55,6 @@ public class QuitHandler extends BaseHandler
return "/quit [<reason>]"; return "/quit [<reason>]";
} }
/** /**
* Description of /quit * Description of /quit
*/ */

View File

@ -66,7 +66,6 @@ public class TopicHandler extends BaseHandler
return "/topic [<topic>]"; return "/topic [<topic>]";
} }
/** /**
* Description of /topic * Description of /topic
*/ */

View File

@ -59,7 +59,6 @@ public class VoiceHandler extends BaseHandler
return "/voice <nickname>"; return "/voice <nickname>";
} }
/** /**
* Description of /voice * Description of /voice
*/ */