Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Printed | Page 3 |
http://www.japhar.org |
Anonymous | Jul 01, 2005 | |
Printed | Page 118 |
http://lavarand.sgi.com |
Anonymous | Jul 01, 2005 | |
Printed | Page 155 6.1 footnote |
"Date's getTime() returns the time in seconds" -> NOW READS "...milliseconds" |
Anonymous | Jul 01, 2005 | |
Printed | Page 165 |
The text under the example should read 2 11/12 years not 3 11/12 years |
Anonymous | Mar 09, 2009 | |
Printed | Page 190 5 lines from bottom |
List l ist = new ArrayList(); |
Anonymous | Mar 09, 2009 | |
Printed | Page 195 last paragraph |
hashSet requires that an objects' hashCode() method returns the Note from the Author or Editor: |
Anonymous | ||
Printed | Page 242-243 Singleton section |
Serialization of a singleton class isn't handled (extra objects could be created via serialization). Also (should this be a separate submission?) in the variation with making all methods static it is claimed "but this works only if methods do not need to share state"--which is incredibly false. (static fields?) Note from the Author or Editor: |
Anonymous | ||
Printed | Page 254 1-line code example at top of page |
1) It is probably preferable to use System.out.printf() instead of System.out.format(); |
Anonymous | Mar 09, 2009 | |
Printed | Page 273 code in middle of the page |
PrintWriter toSwedish = new PrinterWriter( |
Anonymous | Jul 01, 2005 | |
Printed | Page 354 13.8 solution code |
g.drawImage(0, 0, myImage, this) |
Anonymous | Jul 01, 2005 | |
Printed | Page 355 loadImage() method, line 2 |
The commented line assigning an Image to the image variable: |
Anonymous | Jul 01, 2005 | |
Printed | Page 586 source code, after //Enable logging |
DriverManager.setLogStream() |
Anonymous | Jul 01, 2005 | |
Printed | Page 697 2nd code example, 2nd line |
indexof |
Anonymous | Mar 09, 2009 | |
Printed | Page 702 Code following 1st paragraph,1st line |
Lock theLock = .... |
Anonymous | Jul 01, 2005 | |
Printed | Page 710 near bottom |
On p. 708 MAX was set to 10 and it looked like the list should be held to that size, but according to the text here on 710, "List size now 118" and "I'm happy to report that all is well with this." Note from the Author or Editor: |
Anonymous | ||
Printed | Page 713 Recipe 24.8, example 24-13, the last lines of this example |
Last line attempts to end the operation by setting the "done" flag to true. Note from the Author or Editor: |
Anonymous |