diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-03-25 04:21:34 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-03-25 04:21:34 +0000 |
commit | dc476cc5714b82b63a589d89e1e1fd7c21c2bc08 (patch) | |
tree | 05c47ea47a081a3f68b4520c97988c3fe584a699 /java/gjt/Assert.java | |
parent | e486fcdb2329b833f1b488a44b8da23e358b754f (diff) | |
download | ATCD-AV_DEMO_1.tar.gz |
This commit was manufactured by cvs2svn to create tag 'AV_DEMO_1'.AV_DEMO_1
Diffstat (limited to 'java/gjt/Assert.java')
-rw-r--r-- | java/gjt/Assert.java | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/java/gjt/Assert.java b/java/gjt/Assert.java deleted file mode 100644 index b704be9ff3c..00000000000 --- a/java/gjt/Assert.java +++ /dev/null @@ -1,33 +0,0 @@ -package gjt; - -/** - * A simple assertion mechanism for asserting validity of - * arguments.<p> - * - * @version 1.0, Apr 1 1996 - * @author David Geary - */ -public class Assert { - static public void notFalse(boolean b) - throws IllegalArgumentException { - if(b == false) - throw new IllegalArgumentException( - "boolean expression false"); - } - static public void notNull(Object obj) - throws IllegalArgumentException { - if(obj == null) - throw new IllegalArgumentException("null argument"); - } - - static public void notFalse(boolean b, String s) - throws IllegalArgumentException { - if(b == false) - throw new IllegalArgumentException(s); - } - static public void notNull(Object obj, String s) - throws IllegalArgumentException { - if(obj == null) - throw new IllegalArgumentException(s); - } -} |