aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Seems bug in Kathy Seira & Bates Book (Assertions) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Seems bug in Kathy Seira & Bates Book (Assertions)" Watch "Seems bug in Kathy Seira & Bates Book (Assertions)" New topic
Author

Seems bug in Kathy Seira & Bates Book (Assertions)

vipul patel
Ranch Hand

Joined: Oct 16, 2005
Posts: 146
In Chapter 4, it is mentioned that to enable assertions from a package and all of subpackages underneath,

java -ea:com.foo

But I think it should be java -ea:com.foo...
As mentioned in Khalid Mughal.

Can anybody clear this point?
Naresh Gunda
Ranch Hand

Joined: Oct 15, 2005
Posts: 163
yes, it should be java -ea:com.foo...
Sasikanth Malladi
Ranch Hand

Joined: Nov 04, 2000
Posts: 175
Ah, my friend, you've been burning the midnight oil a little too much. It's an "erratum" and not a "bug".
Sashi
vipul patel
Ranch Hand

Joined: Oct 16, 2005
Posts: 146
My dear friend, misspellings in coding is something on compiler produces an error. or might hit the run time behaviour of code. so whatever you call it, it was there and my job was to point out. thanks for your comment anyway.
vipul patel
Ranch Hand

Joined: Oct 16, 2005
Posts: 146
Chapter 6: while describing String class's methods,

have a look at:
public Boolean equalsIgnoreCase(String s)


which should be actually,
public boolean equalsIgnoreCase(String s)

because Boolean is the wrapper class.
Leonardo Rafaeli
Ranch Hand

Joined: Dec 12, 2005
Posts: 58
where I see the "erratum" from KS&BB??? I'm preparing with this book for 055 exam (lol?!) sorry by the gramatical errors =[


SCJP 1.4, SCWCD 1.4, SCBCD 5, OCUP, SCEA 5 (I), Oracle SOA Implementation Specialist, IBM Websphere Lombardi 7.1 Fundamentals
Blog: [url]http://www.leozin.com.br/blog[/url]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Seems bug in Kathy Seira & Bates Book (Assertions)