File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Assertion syntax question regarding elipsis (...)

 
Leonardo Crespo
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i could use some help on assertions

K&B book says that


will enable assertions for all classes in mysubpackage and all classes in every subpackage bellow that.

J2SE5 DOC says that:


(note the 3 dots ... after mysubpackage). is the correct syntax for enabling assertions in mysubpackage classes and all classes bellow it.

Which one is the correct option? Both works for me...

Thank you very much.
 
Joyce Lee
Ranch Hand
Posts: 1392
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[B]K&B book says that

will enable assertions for all classes in mysubpackage and all classes in every subpackage bellow that. [/B]

Are you referring to command-line examples listed in table 4-4 on page 263 of K&B book? On my book, it does include the 3 dots.


Have you checked out the book's errata?
 
Leonardo Crespo
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That should be the case, thank you Joyce.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic