jicarilla-sandbox/platform/container/impl/src/java/org/jicarilla/container/util Type2Util.java,1.2,1.3

[email protected]
Newsgroups gmane.comp.java.jicarilla.cvs
Message-ID <[email protected]>
Update of /cvsroot/jicarilla/jicarilla-sandbox/platform/container/impl/src/java/org/jicarilla/container/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12008/platform/container/impl/src/java/org/jicarilla/container/util

Modified Files:
	Type2Util.java 
Log Message:
minor api improvements + tests

Index: Type2Util.java
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-sandbox/platform/container/impl/src/java/org/jicarilla/container/util/Type2Util.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Type2Util.java	29 Feb 2004 18:08:10 -0000	1.2
+++ Type2Util.java	9 Mar 2004 23:59:59 -0000	1.3
@@ -144,6 +144,12 @@
             final Class clazz, final Method[] type2Methods,
             final Resolver dependencyProvider )
     {
+        Assert.assertNotNull( "clazz argument may not be null", clazz );
+        Assert.assertNotNull( "type2Methods argument may not be null",
+                type2Methods );
+        Assert.assertNotNull( "dependencyProvider argument may not be null",
+                dependencyProvider );
+
         final Set problematicKeys = new HashSet();
         for( int i = 0; i < type2Methods.length; i++ )
         {



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.