mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-30 03:21:23 +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;
|
||||
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;
|
||||
|
Reference in New Issue
Block a user