Annotate all packages with @NotNullByDefault and suppress warnings for unstable API usage.
This commit is contained in:
1 parent
da7ae49618
commit
981445a797
10 files changed
+50
No files matched your search
+5
@@ -0,0 +1,5 @@
|
||||
/** @noinspection UnstableApiUsage, RedundantSuppression */
|
||||
@NotNullByDefault
|
||||
package dev.overlord.zomboidforge.compat.b42.patches;
|
||||
|
||||
import org.jetbrains.annotations.NotNullByDefault;
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
/** @noinspection UnstableApiUsage, RedundantSuppression */
|
||||
@NotNullByDefault
|
||||
package dev.overlord.zomboidforge.compat.b42.patches.support;
|
||||
|
||||
import org.jetbrains.annotations.NotNullByDefault;
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
/** @noinspection UnstableApiUsage, RedundantSuppression */
|
||||
@NotNullByDefault
|
||||
package dev.overlord.zomboidforge.compat.b42.hooks;
|
||||
|
||||
import org.jetbrains.annotations.NotNullByDefault;
|
||||
+5
@@ -1,5 +1,10 @@
|
||||
/**
|
||||
* Build 42 runtime code: hooks that patched game classes call, and adapters between
|
||||
* game classes and the version-independent {@code core} and {@code api}.
|
||||
*
|
||||
* @noinspection UnstableApiUsage, RedundantSuppression
|
||||
*/
|
||||
@NotNullByDefault
|
||||
package dev.overlord.zomboidforge.compat.b42;
|
||||
|
||||
import org.jetbrains.annotations.NotNullByDefault;
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
/** @noinspection UnstableApiUsage, RedundantSuppression */
|
||||
@NotNullByDefault
|
||||
package dev.overlord.zomboidforge.compat.b42.perf;
|
||||
|
||||
import org.jetbrains.annotations.NotNullByDefault;
|
||||
Reference in new issue
Block a user