First sentence on page 373 says that "This code consistently outputs the first value in the serial stream, 1." where the code, the author is referring to is How is it possible for findAny to return predictable results?
on the same page too i.e. 373 the same mistake was made:
The result is that the output could be 4, 1, or really any value in the stream. You can see that with parallel streams, the results of findAny() are no longer predictable.
Somehow it feels like author is talking about findFirst();