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)
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop