ScriptChunk: Add missing @Nullable annotations to constructors.

This commit is contained in:
Matthew Leon
2019-05-16 20:42:52 -04:00
committed by Andreas Schildbach
parent 3e0a65f36f
commit cb6d36f03b

View File

@@ -44,11 +44,11 @@ public class ScriptChunk {
public final byte[] data; public final byte[] data;
private int startLocationInProgram; private int startLocationInProgram;
public ScriptChunk(int opcode, byte[] data) { public ScriptChunk(int opcode, @Nullable byte[] data) {
this(opcode, data, -1); this(opcode, data, -1);
} }
public ScriptChunk(int opcode, byte[] data, int startLocationInProgram) { public ScriptChunk(int opcode, @Nullable byte[] data, int startLocationInProgram) {
this.opcode = opcode; this.opcode = opcode;
this.data = data; this.data = data;
this.startLocationInProgram = startLocationInProgram; this.startLocationInProgram = startLocationInProgram;