Implicit non-nullability for fields
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user