Fix Javadoc warnings due to Java 21 update (+ some other warnings)
The default implicit constructor must also have a doc comment, so I have to make it explicit and either properly restrict the visibility of the constructor, or actually document it.
This commit is contained in:
@@ -25,6 +25,11 @@ import java.util.function.Predicate;
|
||||
*/
|
||||
public abstract class BrigadierCommand<S> {
|
||||
|
||||
/**
|
||||
* Creates a Brigadier command.
|
||||
*/
|
||||
public BrigadierCommand() {}
|
||||
|
||||
|
||||
/**
|
||||
* Returns a builder for this command.
|
||||
|
@@ -21,6 +21,11 @@ public abstract class BrigadierDispatcher<S> {
|
||||
|
||||
private final CommandDispatcher<S> dispatcher = new CommandDispatcher<>();
|
||||
|
||||
/**
|
||||
* Creates a new Dispatcher instance.
|
||||
*/
|
||||
public BrigadierDispatcher() {}
|
||||
|
||||
|
||||
/**
|
||||
* Registers the provided command node into this dispatcher.
|
||||
|
@@ -140,4 +140,8 @@ public class BrigadierSuggestionsUtil {
|
||||
}
|
||||
|
||||
|
||||
|
||||
private BrigadierSuggestionsUtil() {}
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user