Check validity of priority value
If setPriority()
is called with an invalid priority value, log it and discard it, keeping the (presumed valid) current value.
If setPriority()
is called with an invalid priority value, log it and discard it, keeping the (presumed valid) current value.