Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/classes/java/util/concurrent/ExecutorCompletionService.java
          +++ new/src/share/classes/java/util/concurrent/ExecutorCompletionService.java
↓ open down ↓ 189 lines elided ↑ open up ↑
 190  190      }
 191  191  
 192  192      public Future<V> take() throws InterruptedException {
 193  193          return completionQueue.take();
 194  194      }
 195  195  
 196  196      public Future<V> poll() {
 197  197          return completionQueue.poll();
 198  198      }
 199  199  
 200      -    public Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException {
      200 +    public Future<V> poll(long timeout, TimeUnit unit)
      201 +            throws InterruptedException {
 201  202          return completionQueue.poll(timeout, unit);
 202  203      }
 203  204  
 204  205  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX