Migrate nullability annotations to jSpecify
Mojang has done that, we don't need 3 different sets of annotations
This commit is contained in:
1 parent
8395fae963
commit
5e8b4ece5b
49 files changed
+51
-56
No files matched your search
@@ -2,7 +2,7 @@ package carpet.script.exception;
|
||||
|
||||
import carpet.script.value.Value;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import org.jspecify.annotations.Nullable;
|
||||
|
||||
public class BreakStatement extends ExitStatement
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@ package carpet.script.exception;
|
||||
|
||||
import carpet.script.value.Value;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import org.jspecify.annotations.Nullable;
|
||||
|
||||
public class ContinueStatement extends ExitStatement
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@ package carpet.script.exception;
|
||||
|
||||
import carpet.script.value.Value;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import org.jspecify.annotations.Nullable;
|
||||
|
||||
/* Exception thrown to terminate execution mid expression (aka return statement) */
|
||||
public class ExitStatement extends StacklessRuntimeException
|
||||
|
||||
@@ -6,7 +6,7 @@ import carpet.script.Token;
|
||||
import carpet.script.external.Carpet;
|
||||
import carpet.script.value.FunctionValue;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import org.jspecify.annotations.Nullable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package carpet.script.exception;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import org.jspecify.annotations.Nullable;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
Reference in new issue
Block a user