To me that reads like it was trying to accomplish something like
int[] current; while((current = queue.pop()) != null) {