mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-01 21:17:13 +00:00
ScriptChunk: Add missing @Nullable annotations to constructors.
This commit is contained in:
committed by
Andreas Schildbach
parent
3e0a65f36f
commit
cb6d36f03b
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user