openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r964986 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java
Date Sat, 17 Jul 2010 00:08:19 GMT
Author: gerdogdu
Date: Sat Jul 17 00:08:18 2010
New Revision: 964986

URL: http://svn.apache.org/viewvc?rev=964986&view=rev
Log:
Remove duplicated check

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java?rev=964986&r1=964985&r2=964986&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java
Sat Jul 17 00:08:18 2010
@@ -131,10 +131,7 @@ public class CreationalContextImpl<T> im
      */
     public <K> void addDependent(Object ownerInstance, Contextual<K> dependent,
Object instance)
     {
-        Asserts.assertNotNull(dependent,"ownerInstance parameter cannot be null");
         Asserts.assertNotNull(dependent,"dependent parameter cannot be null");
-        Asserts.assertNotNull(dependent,"instance parameter cannot be null");
-        Asserts.assertNotNull(dependent,"cc parameter cannot be null");
         
         if(instance != null)
         {
@@ -406,4 +403,4 @@ public class CreationalContextImpl<T> im
         ejbInterceptors = (ConcurrentMap<Object, List<EjbInterceptorContext>>)
s.readObject();
     }
 
-}
\ No newline at end of file
+}



Mime
View raw message