Javadoc cleanjp

This commit is contained in:
Auxilor
2023-01-17 12:00:04 +00:00
parent d3414f25ad
commit 999fafc8df
2 changed files with 8 additions and 7 deletions

View File

@@ -1,20 +1,19 @@
package com.willfp.eco.core.command;
/**
* An Exception class used for notifying a sender
* with a langYml message
* A notification exception is thrown when {@link org.bukkit.command.CommandSender}s don't
* specify valid arguments in commands.
*/
public class NotificationException extends Exception {
/**
* The langYml key of the notification string.
* The key for the lang.yml message to be sent.
*/
private final String key;
/**
* Creates a notification exception.
*
* @param key the lang key of the notification.
* @param key The lang key of the notification.
*/
public NotificationException(String key) {
super(key);
@@ -24,7 +23,7 @@ public class NotificationException extends Exception {
/**
* Get the lang key.
*
* @return the lang key
* @return The lang key.
*/
public String getKey() {
return key;

View File

@@ -11,8 +11,10 @@ import java.util.List;
/**
* Delegates a bukkit command to an eco command (for registrations).
*
* @deprecated Internal command implementations have been removed from the API.
*/
@Deprecated(forRemoval = true)
@Deprecated(forRemoval = true, since = "6.49.0")
public final class DelegatedBukkitCommand extends Command implements TabCompleter, PluginIdentifiableCommand {
/**
* The delegate command.