3
0
mirror of https://github.com/Qortal/qortal.git synced 2025-02-15 11:45:49 +00:00

Treat a null priority as 0

This commit is contained in:
CalDescent 2022-02-11 15:17:02 +00:00
parent f7341cd9ab
commit 49b307db60

View File

@ -79,7 +79,10 @@ public class ArbitraryDataBuildQueueItem extends ArbitraryDataResource {
} }
public Integer getPriority() { public Integer getPriority() {
return this.priority; if (this.priority != null) {
return this.priority;
}
return 0;
} }
public void setPriority(Integer priority) { public void setPriority(Integer priority) {