In Chapter 7 (Concurrency) Review question 20 the source code is:
The reasons for these changes are:
1. <Future>?> cannot be compiled.
2. The expressions used in streams are supposed to be effectively final. (Can test it by replacing .execute with .submit as described in the answers)