mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 11:45:52 -07:00
Remove nullability annotations from enum constructors
By: Darkyenus <darkyenus@gmail.com>
This commit is contained in:
@@ -205,11 +205,11 @@ public enum Effect {
|
||||
private final Class<?> data;
|
||||
private static final Map<Integer, Effect> BY_ID = Maps.newHashMap();
|
||||
|
||||
Effect(int id, @NotNull Type type) {
|
||||
Effect(int id, /*@NotNull*/ Type type) {
|
||||
this(id, type, null);
|
||||
}
|
||||
|
||||
Effect(int id, @NotNull Type type, @Nullable Class<?> data) {
|
||||
Effect(int id, /*@NotNull*/ Type type, /*@Nullable*/ Class<?> data) {
|
||||
this.id = id;
|
||||
this.type = type;
|
||||
this.data = data;
|
||||
|
Reference in New Issue
Block a user