The Artima Developer Community


Errata for Programming in Scala, 4th Edition
Chapter 27: Annotations
Return to errata index.

Page 615 (PDF page 653):
Scala provides the @scala.reflect.BeanProperty
annotation. If you add this annotation to a field, the compiler will
automatically generate get and set methods for you.

BeanProperty is in scala.beans package.
---
Fixed in 5ed. Tnx.
Page 653 (PDF page 691):
Automatic get and set methods:
@scala.reflect.BeanProperty is wrong. @scala.beans.BeanProperty is true
---
Fixed in 5ed. Tnx.

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.