jicarilla-sandbox/platform/container/impl/src/java/org/jicarilla/container/builder SingletonType35Helper.java,1.5,1.6

Leo Simons <[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/builder
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21492/platform/container/impl/src/java/org/jicarilla/container/builder

Modified Files:
	SingletonType35Helper.java 
Log Message:
null check

Index: SingletonType35Helper.java
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-sandbox/platform/container/impl/src/java/org/jicarilla/container/builder/SingletonType35Helper.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- SingletonType35Helper.java	17 Mar 2004 14:14:16 -0000	1.5
+++ SingletonType35Helper.java	17 Mar 2004 19:30:49 -0000	1.6
@@ -32,6 +32,7 @@
 import org.jicarilla.container.factories.Type35Factory;
 import org.jicarilla.container.selectors.ClassSelector;
 import org.jicarilla.framework.Selector;
+import org.jicarilla.framework.Assert;
 
 /**
  * 
@@ -45,6 +46,7 @@
             final Resolver resolver )
             throws Exception
     {
+        Assert.assertNotNull( "provider argument may not be null", provider );
         return new AdapterBasedKeyAwareAdapter(
                 new SingletonAdapter(
                         new Type35Factory(



-------------------------------------------------------
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.