Add Override annotations where appropriate

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2019-04-28 11:37:52 +10:00
parent d66310a2f1
commit 82854b7bd7
176 changed files with 503 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ public abstract class MessagePrompt implements Prompt {
* @param context Context information about the conversation.
* @return Always false.
*/
@Override
public boolean blocksForInput(@NotNull ConversationContext context) {
return false;
}
@@ -31,6 +32,7 @@ public abstract class MessagePrompt implements Prompt {
* @param input Ignored.
* @return The next prompt in the prompt graph.
*/
@Override
@Nullable
public Prompt acceptInput(@NotNull ConversationContext context, @Nullable String input) {
return getNextPrompt(context);