mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 17:01:56 +01:00
Don't annotate type parameters using JetBrains annotations (#5600)
This commit is contained in:
parent
0f71d4bcab
commit
d30a6a4463
1 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+ *
|
+ *
|
||||||
+ * @return a list of offered completions
|
+ * @return a list of offered completions
|
||||||
+ */
|
+ */
|
||||||
+ public @NotNull List<@NotNull Completion> completions() {
|
+ public @NotNull List<Completion> completions() {
|
||||||
+ return this.completions;
|
+ return this.completions;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
|
@ -107,7 +107,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+ *
|
+ *
|
||||||
+ * @param newCompletions the new completions
|
+ * @param newCompletions the new completions
|
||||||
+ */
|
+ */
|
||||||
+ public void completions(final @NotNull List<@NotNull Completion> newCompletions) {
|
+ public void completions(final @NotNull List<Completion> newCompletions) {
|
||||||
+ Validate.notNull(newCompletions, "new completions");
|
+ Validate.notNull(newCompletions, "new completions");
|
||||||
+ this.completions.clear();
|
+ this.completions.clear();
|
||||||
+ this.completions.addAll(newCompletions);
|
+ this.completions.addAll(newCompletions);
|
||||||
|
|
Loading…
Reference in a new issue