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;
private int startLocationInProgram;
public ScriptChunk(int opcode, byte[] data) {
public ScriptChunk(int opcode, @Nullable byte[] data) {
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.data = data;
this.startLocationInProgram = startLocationInProgram;