Nice/stdlib/nice/lang assertions.nice,1.9,1.10
Artem Gr Kozarezov <[email protected]> Mon, 11 Apr 2005 13:56:14 +0000
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/stdlib/nice/lang
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31056/stdlib/nice/lang
Modified Files:
assertions.nice
Log Message:
Made assertions Object message to be JDK1.3 compatible.
Index: assertions.nice
===================================================================
RCS file: /cvsroot/nice/Nice/stdlib/nice/lang/assertions.nice,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** assertions.nice 9 Apr 2005 20:59:11 -0000 1.9
--- assertions.nice 11 Apr 2005 13:56:11 -0000 1.10
***************
*** 23,28 ****
*/
class AssertionFailed extends Error {}
public new AssertionFailed(Object message) =
! this( message.toString(), message instanceof Throwable ? message : null );
void `?assert`(boolean condition) =
--- 23,29 ----
*/
class AssertionFailed extends Error {}
+ // To be removed later. Left here for bootstrap compatibility.
public new AssertionFailed(Object message) =
! this();
void `?assert`(boolean condition) =
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click