# | Line 31 | Line 31 | package java.util.concurrent; | |
---|---|---|
31 | * displayOtherThings(); // do other things while searching | |
32 | * try { | |
33 | * displayText(future.get()); // use future | |
34 | < | * } |
35 | < | * catch (ExecutionException ex) { cleanup(); return; } |
34 | > | * } catch (ExecutionException ex) { cleanup(); return; } |
35 | * } | |
36 | * } | |
37 | * </pre> |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |