mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-23 01:12:17 -05:00
Removed private description and moved to getDescription()
This commit is contained in:
parent
370a25c447
commit
d53dacfc32
@ -38,8 +38,6 @@ import android.content.Intent;
|
||||
*/
|
||||
public class CloseHandler extends BaseHandler
|
||||
{
|
||||
private String desc ="Closes the current window";
|
||||
|
||||
/**
|
||||
* Execute /close
|
||||
*/
|
||||
@ -80,7 +78,8 @@ public class CloseHandler extends BaseHandler
|
||||
* Description of /close
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
public String getDescription()
|
||||
{
|
||||
return "Closes the current window";
|
||||
}
|
||||
}
|
||||
|
@ -39,8 +39,6 @@ import org.yaaic.model.Server;
|
||||
*/
|
||||
public class DCCHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "Send a file to a user";
|
||||
|
||||
/**
|
||||
* Execute /dcc
|
||||
*/
|
||||
@ -84,7 +82,8 @@ public class DCCHandler extends BaseHandler
|
||||
* Description of /dcc
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
public String getDescription()
|
||||
{
|
||||
return "Send a file to a user";
|
||||
}
|
||||
}
|
||||
|
@ -33,7 +33,6 @@ import org.yaaic.model.Server;
|
||||
*/
|
||||
public class DeopHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "";
|
||||
/**
|
||||
* Execute /voice
|
||||
*/
|
||||
@ -66,6 +65,6 @@ public class DeopHandler extends BaseHandler
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
return "Give a user voice status";
|
||||
}
|
||||
}
|
||||
|
@ -33,7 +33,6 @@ import org.yaaic.model.Server;
|
||||
*/
|
||||
public class DevoiceHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "";
|
||||
/**
|
||||
* Execute /devoice
|
||||
*/
|
||||
@ -66,6 +65,6 @@ public class DevoiceHandler extends BaseHandler
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
return "Remove voice status from a user";
|
||||
}
|
||||
}
|
||||
|
@ -37,7 +37,6 @@ import android.content.Intent;
|
||||
*/
|
||||
public class EchoHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "";
|
||||
/**
|
||||
* Execute /echo
|
||||
*/
|
||||
@ -74,6 +73,6 @@ public class EchoHandler extends BaseHandler
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
return "Print text to window";
|
||||
}
|
||||
}
|
||||
|
@ -33,7 +33,6 @@ import org.yaaic.model.Server;
|
||||
*/
|
||||
public class JoinHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "join a channel";
|
||||
/**
|
||||
* Execute /join
|
||||
*/
|
||||
@ -62,7 +61,8 @@ public class JoinHandler extends BaseHandler
|
||||
* Description of /join
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
public String getDescription()
|
||||
{
|
||||
return "join a channel";
|
||||
}
|
||||
}
|
||||
|
@ -35,8 +35,6 @@ import org.yaaic.model.Server;
|
||||
*/
|
||||
public class KickHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "kicks a user";
|
||||
|
||||
/**
|
||||
* Execute /kick
|
||||
*/
|
||||
@ -68,6 +66,6 @@ public class KickHandler extends BaseHandler
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
return "kicks a user";
|
||||
}
|
||||
}
|
||||
|
@ -38,8 +38,6 @@ import android.content.Intent;
|
||||
*/
|
||||
public class MeHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "";
|
||||
|
||||
/**
|
||||
* Execute /me
|
||||
*/
|
||||
@ -81,7 +79,8 @@ public class MeHandler extends BaseHandler
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
public String getDescription()
|
||||
{
|
||||
return "Perform an action";
|
||||
}
|
||||
}
|
||||
|
@ -35,8 +35,6 @@ import org.yaaic.model.Server;
|
||||
*/
|
||||
public class ModeHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "";
|
||||
|
||||
/**
|
||||
* Execute /mode
|
||||
*/
|
||||
@ -62,7 +60,8 @@ public class ModeHandler extends BaseHandler
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
public String getDescription()
|
||||
{
|
||||
return "Change channel modes";
|
||||
}
|
||||
}
|
||||
|
@ -39,8 +39,6 @@ import android.content.Intent;
|
||||
*/
|
||||
public class NamesHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "lists all users in channel";
|
||||
|
||||
/**
|
||||
* Execute /names
|
||||
*/
|
||||
@ -87,7 +85,8 @@ public class NamesHandler extends BaseHandler
|
||||
* Description of /names
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
public String getDescription()
|
||||
{
|
||||
return "lists all users in channel";
|
||||
}
|
||||
}
|
||||
|
@ -33,8 +33,6 @@ import org.yaaic.model.Server;
|
||||
*/
|
||||
public class NickHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "change own nickname";
|
||||
|
||||
/**
|
||||
* Execute /nick
|
||||
*/
|
||||
@ -62,7 +60,8 @@ public class NickHandler extends BaseHandler
|
||||
* Description of /nick
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
public String getDescription()
|
||||
{
|
||||
return "change own nickname";
|
||||
}
|
||||
}
|
||||
|
@ -40,8 +40,6 @@ import android.content.Intent;
|
||||
*/
|
||||
public class NoticeHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "Send a notice to an other user";
|
||||
|
||||
/**
|
||||
* Execute /notice
|
||||
*/
|
||||
@ -82,7 +80,8 @@ public class NoticeHandler extends BaseHandler
|
||||
* Description of /notice
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
public String getDescription()
|
||||
{
|
||||
return "Send a notice to an other user";
|
||||
}
|
||||
}
|
||||
|
@ -33,8 +33,6 @@ import org.yaaic.model.Server;
|
||||
*/
|
||||
public class OpHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "";
|
||||
|
||||
/**
|
||||
* Execute /deop
|
||||
*/
|
||||
@ -67,6 +65,6 @@ public class OpHandler extends BaseHandler
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
return "Give a user operator status";
|
||||
}
|
||||
}
|
||||
|
@ -35,8 +35,6 @@ import org.yaaic.model.Server;
|
||||
*/
|
||||
public class PartHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "leave the current channel";
|
||||
|
||||
/**
|
||||
* Execute /part
|
||||
*/
|
||||
@ -67,6 +65,6 @@ public class PartHandler extends BaseHandler
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
return "leave the current channel";
|
||||
}
|
||||
}
|
||||
|
@ -39,8 +39,6 @@ import android.content.Intent;
|
||||
*/
|
||||
public class QueryHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "opens a private chat with a user";
|
||||
|
||||
/**
|
||||
* Execute /query
|
||||
*/
|
||||
@ -82,7 +80,8 @@ public class QueryHandler extends BaseHandler
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
public String getDescription()
|
||||
{
|
||||
return "opens a private chat with a user";
|
||||
}
|
||||
}
|
||||
|
@ -33,8 +33,6 @@ import org.yaaic.model.Server;
|
||||
*/
|
||||
public class QuitHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "leave current channel";
|
||||
|
||||
/**
|
||||
* Execute /quit
|
||||
*/
|
||||
@ -62,7 +60,8 @@ public class QuitHandler extends BaseHandler
|
||||
* Description of /quit
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
public String getDescription()
|
||||
{
|
||||
return "disconnect from server";
|
||||
}
|
||||
}
|
||||
|
@ -36,8 +36,6 @@ import org.yaaic.model.Server;
|
||||
*/
|
||||
public class TopicHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "show or change the current topic";
|
||||
|
||||
/**
|
||||
* Execute /topic
|
||||
*/
|
||||
@ -73,7 +71,8 @@ public class TopicHandler extends BaseHandler
|
||||
* Description of /topic
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
public String getDescription()
|
||||
{
|
||||
return "show or change the current topic";
|
||||
}
|
||||
}
|
||||
|
@ -33,8 +33,6 @@ import org.yaaic.model.Server;
|
||||
*/
|
||||
public class VoiceHandler extends BaseHandler
|
||||
{
|
||||
private String desc = "";
|
||||
|
||||
/**
|
||||
* Execute /voice
|
||||
*/
|
||||
@ -66,7 +64,8 @@ public class VoiceHandler extends BaseHandler
|
||||
* Description of /voice
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return desc;
|
||||
public String getDescription()
|
||||
{
|
||||
return "Give a user voice status";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user