Errata


Print Print Icon

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.


Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question



Version Location Description Submitted By
Printed Page 73
2nd paragraph

In the code sample, the variable name "authorName" is quoted. Therefore, contrary to what the text claims, the code sample would actually print "authorName". The variable name should be unquoted to get the described behavior.

Anonymous 
Printed Page 208
2nd paragraph of the "Discussion" section

Second line has:
- Without this addCharacter( ) object,
should be:
- Without this addCharacter( ) method,

Anonymous 
Printed Page 216
7.6 code listing

remove 2nd right parenthesis while calling getFloat()
and
remove 2nd right parenthesis while calling getList()

Anonymous 
Printed Page 222
Recipe 7.10. Using an Abstract Logging Interface Problem, Solution

import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.Log

The last line above is missing a terminating semicolon.

Anonymous 
Printed Page 227
last line of page

lof4Jresource
should read:
log4Jresource

Anonymous 
Printed Page 254
Solution

Jexl 1.1 no longer appears to work like this at all. The example
shown will complain that there is a error parsing the expression.
Values from variable names are not surrounded by ${ } .

Anonymous 
Printed Page 295
2nd paragraph

The verb "finds" should be "find".

Anonymous 
Printed Page 296
2nd code sample

The text claims that the regular expression will return files 'starting with "dev" and ending with ".tld"'. However, the regular expression used reads:

"^dev.*.tld$"

The second dot in this context means "any character", not "dot". Probably the clearest way to rewrite this would be:

"^dev.*[.]tld$"

though there are others.

Anonymous