private void updatePriorities() {
short normalPrio = RequestStarter.MINIMUM_PRIORITY_CLASS;
short progressPrio = RequestStarter.MINIMUM_PRIORITY_CLASS;
USKCallback[] callbacks;
synchronized(this) {
<BUG>callbacks = (USKCallback[]) subscribers.toArray(new USKCallback[subscribers.size()]);
}</BUG>
if(callbacks.length == 0) {
normalPollPriority = DEFAULT_NORMAL_POLL_PRIORITY;
progressPollPriority = DEFAULT_PROGRESS_POLL_PRIORITY;

private void updatePriorities() {
short normalPrio = RequestStarter.MINIMUM_PRIORITY_CLASS;
short progressPrio = RequestStarter.MINIMUM_PRIORITY_CLASS;
USKCallback[] callbacks;
synchronized(this) {
callbacks = subscribers.toArray(new USKCallback[subscribers.size()]);
}
if(callbacks.length == 0) {
normalPollPriority = DEFAULT_NORMAL_POLL_PRIORITY;
progressPollPriority = DEFAULT_PROGRESS_POLL_PRIORITY;
