jicarilla-sandbox/platform/container/impl/src/java/org/jicarilla/container/builder EntryHelper.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-serv5442/platform/container/impl/src/java/org/jicarilla/container/builder
Modified Files:
EntryHelper.java
Log Message:
check against null
Index: EntryHelper.java
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-sandbox/platform/container/impl/src/java/org/jicarilla/container/builder/EntryHelper.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- EntryHelper.java 19 Jan 2004 21:46:15 -0000 1.5
+++ EntryHelper.java 17 Mar 2004 18:17:26 -0000 1.6
@@ -58,6 +58,7 @@
public KeyAwareAdapter getAdapter( final Object provider )
throws Exception
{
+ Assert.assertNotNull( "provider argument may not be null", provider );
final DefaultBuilder.Entry entry =
(DefaultBuilder.Entry)provider;
@@ -90,6 +91,7 @@
public Selector getSelector( final Object provider ) throws Exception
{
+ Assert.assertNotNull( "provider argument may not be null", provider );
final DefaultBuilder.Entry entry =
(DefaultBuilder.Entry)provider;
-------------------------------------------------------
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