myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bara...@apache.org
Subject svn commit: r278747 - /myfaces/impl/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.java
Date Mon, 05 Sep 2005 14:27:55 GMT
Author: baranda
Date: Mon Sep  5 07:27:51 2005
New Revision: 278747

URL: http://svn.apache.org/viewcvs?rev=278747&view=rev
Log:
Fixes MYFACES-514

Modified:
    myfaces/impl/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.java

Modified: myfaces/impl/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.java
URL: http://svn.apache.org/viewcvs/myfaces/impl/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.java?rev=278747&r1=278746&r2=278747&view=diff
==============================================================================
--- myfaces/impl/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.java (original)
+++ myfaces/impl/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.java Mon
Sep  5 07:27:51 2005
@@ -98,6 +98,10 @@
         {
             throw new NullPointerException("renderer type must not be null.");
         }
+        if(renderer == null)
+        {
+            throw new NullPointerException("renderer must not be null.");
+        }
         _renderers.put(key(componentFamily, rendererType), renderer);
     }
 



Mime
View raw message