# | Line 1449 | Line 1449 | public class ThreadPoolExecutor extends | |
---|---|---|
1449 | * Invokes {@code shutdown} when this executor is no longer | |
1450 | * referenced and it has no threads. | |
1451 | */ | |
1452 | + | @SuppressWarnings("deprecation") |
1453 | protected void finalize() { | |
1454 | shutdown(); | |
1455 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |