The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

gharley (3) [Avatar] Offline
#1
Hi,

Spotted a couple of what I *think* are errors in chapter 3.
Apologies if they have been raised previously :-

1. In the Java code for the addChildCategory() method ate
the top of page 71. The second last line reads

> childCategory.getParentCategory(this);

I believe it *should* be

> childCategory.setParentCategory(this);

---

2. On page 72, the second sentence after listing 3.2 reads
:-

> We add the collection attribute, the standard accessor
methods, and a method that simplifies relationship
management (listing 3.3).

Surely this ought to read :-

> We add the categories attribute, the standard accessor
methods, and a method that simplifies relationship
management (listing 3.3).

---

That's all. I am very impressed with what I have read of
the book so far.

Best regards,
George
mengho (1) [Avatar] Offline
#2
Re: Chapter 3 ; Error in code listings
Ya, I think the code is really got some problem originally, I agree with you.

Mark