forked from Qortal/qortal
Treat a null priority as 0
This commit is contained in:
parent
f7341cd9ab
commit
49b307db60
@ -79,8 +79,11 @@ public class ArbitraryDataBuildQueueItem extends ArbitraryDataResource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Integer getPriority() {
|
public Integer getPriority() {
|
||||||
|
if (this.priority != null) {
|
||||||
return this.priority;
|
return this.priority;
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
public void setPriority(Integer priority) {
|
public void setPriority(Integer priority) {
|
||||||
this.priority = priority;
|
this.priority = priority;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user