# | Line 2477 | Line 2477 | public class ForkJoinPool extends Abstra | |
---|---|---|
2477 | * @return the common pool instance | |
2478 | */ | |
2479 | public static ForkJoinPool commonPool() { | |
2480 | < | return commonPool; // cannot be null (if so, a static init error) |
2480 | > | // assert commonPool != null : "static init error"; |
2481 | > | return commonPool; |
2482 | } | |
2483 | ||
2484 | // Execution methods |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |