Removed unnecessary onRegister() overrides
This commit is contained in:
parent
74e305c2a7
commit
5b465e79f3
@ -50,11 +50,6 @@ public abstract class AbilityBot extends BaseAbilityBot implements LongPollingBo
|
|||||||
this(botToken, botUsername, onlineInstance(botUsername));
|
this(botToken, botUsername, onlineInstance(botUsername));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onRegister() {
|
|
||||||
super.onRegister();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onUpdateReceived(Update update) {
|
public void onUpdateReceived(Update update) {
|
||||||
super.onUpdateReceived(update);
|
super.onUpdateReceived(update);
|
||||||
|
@ -56,11 +56,6 @@ public abstract class AbilityWebhookBot extends BaseAbilityBot implements Webhoo
|
|||||||
this(botToken, botUsername, botPath, onlineInstance(botUsername));
|
this(botToken, botUsername, botPath, onlineInstance(botUsername));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onRegister() {
|
|
||||||
super.onRegister();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BotApiMethod onWebhookUpdateReceived(Update update) {
|
public BotApiMethod onWebhookUpdateReceived(Update update) {
|
||||||
super.onUpdateReceived(update);
|
super.onUpdateReceived(update);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user