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() {
return this.priority;
if (this.priority != null) {
return this.priority;
}
return 0;
}
public void setPriority(Integer priority) {