Don't annotate type parameters using JetBrains annotations (#5600)

This commit is contained in:
Jason Penilla 2021-05-08 19:36:53 -07:00
parent 0f71d4bcab
commit d30a6a4463

View file

@ -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);