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