} catch (InterruptedException ie) { log.error("Request allocation was interrupted."); return new AllocatedRequestsIteratorBase<>( Iterators.<AllocatedRequestsIteratorBase.RequestWithResourceRequirement<T>>emptyIterator(), resourcePool); return new AllocatedRequestsIteratorBase<>(iterable.iterator(), resourcePool);
} catch (InterruptedException ie) { log.error("Request allocation was interrupted."); return new AllocatedRequestsIteratorBase<>( Iterators.<AllocatedRequestsIteratorBase.RequestWithResourceRequirement<T>>emptyIterator(), resourcePool); return new AllocatedRequestsIteratorBase<>(iterable.iterator(), resourcePool);