myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bara...@apache.org
Subject svn commit: r265704 - /myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationFactoryImpl.java
Date Thu, 01 Sep 2005 12:08:36 GMT
Author: baranda
Date: Thu Sep  1 05:08:32 2005
New Revision: 265704

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

Modified:
    myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationFactoryImpl.java

Modified: myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationFactoryImpl.java
URL: http://svn.apache.org/viewcvs/myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationFactoryImpl.java?rev=265704&r1=265703&r2=265704&view=diff
==============================================================================
--- myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationFactoryImpl.java
(original)
+++ myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationFactoryImpl.java
Thu Sep  1 05:08:32 2005
@@ -50,6 +50,10 @@
 
     public void setApplication(Application application)
     {
+        if (application == null)
+        {
+            throw new NullPointerException("Cannot set a null application in the ApplicationFactory");
+        }
         _application = application;
     }
 



Mime
View raw message