Implicit non-nullability for fields

This commit is contained in:
Anuken
2020-10-01 13:33:43 -04:00
parent b15cdfef46
commit 199be4d13d
37 changed files with 71 additions and 87 deletions
+2 -3
View File
@@ -2,7 +2,6 @@ package mindustry.game;
import arc.*;
import arc.scene.ui.layout.*;
import arc.util.ArcAnnotate.*;
import mindustry.ctype.*;
import mindustry.type.*;
@@ -10,7 +9,7 @@ import mindustry.type.*;
public class Objectives{
public static class Research implements Objective{
public @NonNull UnlockableContent content;
public UnlockableContent content;
public Research(UnlockableContent content){
this.content = content;
@@ -50,7 +49,7 @@ public class Objectives{
//TODO merge
public abstract static class SectorObjective implements Objective{
public @NonNull SectorPreset preset;
public SectorPreset preset;
}
/** Defines a specific objective for a game. */