The Artima Developer Community


Errata for Programming in Scala, 2nd Edition
Chapter 21: Implicit Conversions and Parameters
Return to errata index.

Page 444 (PDF page 480):
"the fact that the argument is an ActionListener"

should be

"the fact that the argument is an ActionEvent"
Page 444 (PDF page 480):
In the sentence 

> The fact that this listener is an ActionListener, the fact that the
> callback method is named actionPerformed, and the fact that the 
> argument is an ActionListener are all implied for any argument to 
> addActionListener.

I wondered whether "the argument" should refer to the argument
of the callback method, so that its implied type would be
"ActionEvent" instead of ActionListener.

[Yes, that was a typo. Fixed.]

Page number: Book type: Paperback book PDF eBook
Book version: (Or build date. Found on back of title page.)
Your feedback:
Your name: (optional)
Your email address: (optional) (will not be published)

Copyright © 2021 Artima, Inc. All rights reserved.