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 about 1 year 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 | |
|---|---|---|---|---|
| 1 |
#38828: I'm reading the mobi version of the book on my kindle, so I don't have a page number. The kindle reports it as location 480-89. The section ...more...
|
P1.0
10-Apr-09 |
||
| 37 |
#34320: According to the context and subsequent
def access(location,weight,fragile) should be
--will krespan |
P1.0
02-Sep-08 |
||
| 37 |
#39252: I see the point of about the reasoning of the p.37 example.
|
P1.0
26-May-09 |
||
| 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 |
||
| 37 |
#39166: Will Krespan's erratum for page 37 is wrong. Venkat clearly states that they are out of order. It was done for illustrative purposes. Furth...more...
|
P1.0
10-May-09 |
||
| 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 |
||
| 44 |
#38255: In the table "Type x Condition for truth", for Iterator, instead of "has text", it should be "has next", isn't it ?--Enio Pereira |
P1.0
08-Mar-09 |
||
| 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 |
||
| 67 |
#40149: Running the code in Groovy I get an error (book says it will run)
1
2
hello
Exception in thread "main" org.codehaus.groovy.runtime.typeh...more...
|
P1.0
22-Jul-09 |
||
| 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 |
||
| 187 |
#39577: Figure 12.2 has multiple instances of "it's" used as a possessive.
Also, my PDF says it is the P2.0 printing, while this errata page says ...more...
|
P1.0
20-Jun-09 |
||
| 197 |
#38574: one more more classes -> one more to.--Jeremy Flowers |
P1.0
27-Mar-09 |
||
| 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 |
||
| 284 |
#39817: first line should read: ... of the method at() ...--André |
P1.0
04-Jul-09 |
||
| 286 |
#31502: Missing: fix the following xref--David Potts |
B2.0
28-Mar-08 |
||
| 295 |
#40313: Add 'as' operator to index, as described in section 3.4 on page 39. Glen Smith was discussing this here:
grailspodcast.com/episode/68
Have p...more...
|
B2.0
02-Aug-09 |
