Errata for Programming Groovy
We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.
The latest version of the book is P1.0, released 8 months ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.
| Paper | Description | Found in | Fixed in | |
|---|---|---|---|---|
| 37 |
#34320: According to the context and subsequent
def access(location,weight,fragile) should be
--will krespan |
P1.0
02-Sep-08 |
||
| 37 |
#33944: Last paragraph of the page reads: "it leads to a problems, such as when..." "a problems" is not correct.--Ethan M |
P1.0
12-Aug-08 |
||
| 41 |
#31635: In comparing Java code to Groovy you use the evocative example of the sword-fight scene from Raiders of the Lost Ark. However your reference ...more...
|
P1.0
09-Apr-08 |
||
| 49 |
#31961: "leads to a problems" should read, "leads to problems" |
P1.0
10-May-08 |
||
| 66 |
#31724: "Generics.java:10: cannot find symbol" needs to be "Generics.java:11: cannot find symbol" since line 11 is passing a String to the List.
|
P1.0
25-Apr-08 |
||
| 76 |
#34669: The text says "BigNumber" instead of "BigDecimal" in the 2nd paragraph (not that I don't wish my raise was a BigNumber...)--Alan Thompson |
P1.0
29-Sep-08 |
||
| 80 |
#31662: Section 4.4: They allow us to agree upon a certain expectations to be fulfilled.
should read
They allow us to agree upon certain expecta...more...
|
P1.0
14-Apr-08 |
||
| 89 |
#35381: 2nd paragraph: "So, the compiler treats the instance of BigNumber as Number." BigNumber should be BigDecimal. |
P1.0
21-Oct-08 |
||
| 109 |
#31499: Missing: fix reference to figure here--David Potts |
B2.0
28-Mar-08 |
||
| 121 |
#31676: The page ends with ...elegant cousin of '\\d*\\w*" That should be ...elegant cousin of '\\d*\\w*' --Srivaths Sankaran |
P1.0
16-Apr-08 |
||
| 129 |
#32254: "Here's an example: friends refers to a map"
Friends is a list, not a map. Also, the short names in the list definition (e.g. briang) are...more...
|
P1.0
03-Jun-08 |
||
| 149 |
#36280: The code works with 1.5.6, JVM: 1.5.0_17-b04 on Ubuntu 8.10
I haven't found a jvm that works with Groovy 1.5.7. If I use 1.5.7 to run UsingDO...more...
|
P1.0
04-Dec-08 |
||
| 162 |
#32015: The code:
langs = ['C++' : 'Stroustrup' , 'Java' : 'Gosling' , 'Lisp' : 'McCarthy' ]
xmlDocument = new groovy.xml.StreamingMarkupBuilder().b...more...
|
P1.0
15-May-08 |
||
| 202 |
#32394: 4th paragraph, 1st sentence: "...the names of methods you want to add to one more more classes." The word "more" is repeated twice. I'm guess...more...
|
P1.0
15-Jun-08 |
||
| 203 |
#31500: Missing: Please make the sect2’s in this chapter appear in table of contents—I don’t know how to do that, but I think
these section titles ar...more...
|
B2.0
28-Mar-08 |
||
| 203 | 218 |
#33091: I suggest discussing propertyMissing. I tried using method injection based on chapter 14 for a property and wondered why I was not seeing setX...more...
|
P1.0
21-Jul-08 |
|
| 211 |
#31520: Integer.metaClass.static.isEven should be
|
B2.0
28-Mar-08 |
||
| 214 |
#31521: System.out.println at bottom of page where the more consistent println could be used same issue pages 216-221--Tim Orr |
B2.0
28-Mar-08 |
||
| 274 |
#31501: Missing: fix the following xref--David Potts |
B2.0
28-Mar-08 |
||
| 286 |
#31502: Missing: fix the following xref--David Potts |
B2.0
28-Mar-08 |
