You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mb...@apache.org on 2005/10/20 13:27:48 UTC

svn commit: r326888 - /myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationImpl.java

Author: mbr
Date: Thu Oct 20 04:27:40 2005
New Revision: 326888

URL: http://svn.apache.org/viewcvs?rev=326888&view=rev
Log:
applied patch from Mike Kienenberger for MYFACES-723, Thanks Mike!

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

Modified: myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationImpl.java
URL: http://svn.apache.org/viewcvs/myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationImpl.java?rev=326888&r1=326887&r2=326888&view=diff
==============================================================================
--- myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationImpl.java (original)
+++ myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationImpl.java Thu Oct 20 04:27:40 2005
@@ -257,7 +257,7 @@
         if ((componentType == null) || (componentType.length() == 0))
         {
             log.error("addComponent: componentType = null is not allowed");
-            throw new NullPointerException("addComponent: componentType = null ist not allowed");
+            throw new NullPointerException("addComponent: componentType = null is not allowed");
         }
         if ((componentClassName == null) || (componentClassName.length() == 0))
         {
@@ -282,12 +282,12 @@
         if ((converterId == null) || (converterId.length() == 0))
         {
             log.error("addConverter: converterId = null is not allowed");
-            throw new NullPointerException("addConverter: converterId = null ist not allowed");
+            throw new NullPointerException("addConverter: converterId = null is not allowed");
         }
         if ((converterClass == null) || (converterClass.length() == 0))
         {
             log.error("addConverter: converterClass = null is not allowed");
-            throw new NullPointerException("addConverter: converterClass = null ist not allowed");
+            throw new NullPointerException("addConverter: converterClass = null is not allowed");
         }
 
 
@@ -308,12 +308,12 @@
         if ((targetClass == null))
         {
             log.error("addConverter: targetClass = null is not allowed");
-            throw new NullPointerException("addConverter: targetClass = null ist not allowed");
+            throw new NullPointerException("addConverter: targetClass = null is not allowed");
         }
         if ((converterClass == null) || (converterClass.length() == 0))
         {
             log.error("addConverter: converterClass = null is not allowed");
-            throw new NullPointerException("addConverter: converterClass = null ist not allowed");
+            throw new NullPointerException("addConverter: converterClass = null is not allowed");
         }
 
         try
@@ -334,12 +334,12 @@
         if ((converterClassName == null) || (converterClassName.length() == 0))
         {
             log.error("addConverterConfiguration: converterClassName = null is not allowed");
-            throw new NullPointerException("addConverterConfiguration: converterClassName = null ist not allowed");
+            throw new NullPointerException("addConverterConfiguration: converterClassName = null is not allowed");
         }
         if ((configuration == null))
         {
             log.error("addConverterConfiguration: configuration = null is not allowed");
-            throw new NullPointerException("addConverterConfiguration: configuration = null ist not allowed");
+            throw new NullPointerException("addConverterConfiguration: configuration = null is not allowed");
         }
 
         _converterClassNameToConfigurationMap.put(converterClassName, configuration);
@@ -350,12 +350,12 @@
         if ((validatorId == null) || (validatorId.length() == 0))
         {
             log.error("addValidator: validatorId = null is not allowed");
-            throw new NullPointerException("addValidator: validatorId = null ist not allowed");
+            throw new NullPointerException("addValidator: validatorId = null is not allowed");
         }
         if ((validatorClass == null) || (validatorClass.length() == 0))
         {
             log.error("addValidator:  validatorClass = null is not allowed");
-            throw new NullPointerException("addValidator:  validatorClass = null ist not allowed");
+            throw new NullPointerException("addValidator:  validatorClass = null is not allowed");
         }
 
         try
@@ -409,17 +409,17 @@
         if ((valueBinding == null))
         {
             log.error("createComponent: valueBinding = null is not allowed");
-            throw new NullPointerException("createComponent: valueBinding = null ist not allowed");
+            throw new NullPointerException("createComponent: valueBinding = null is not allowed");
         }
         if ((facesContext == null))
         {
             log.error("createComponent: facesContext = null is not allowed");
-            throw new NullPointerException("createComponent: facesContext = null ist not allowed");
+            throw new NullPointerException("createComponent: facesContext = null is not allowed");
         }
         if ((componentType == null) || (componentType.length() == 0))
         {
             log.error("createComponent: componentType = null is not allowed");
-            throw new NullPointerException("createComponent: componentType = null ist not allowed");
+            throw new NullPointerException("createComponent: componentType = null is not allowed");
         }
 
         Object obj = valueBinding.getValue(facesContext);
@@ -440,7 +440,7 @@
         if ((converterId == null) || (converterId.length() == 0))
         {
             log.error("createConverter: converterId = null is not allowed");
-            throw new NullPointerException("createConverter: converterId = null ist not allowed");
+            throw new NullPointerException("createConverter: converterId = null is not allowed");
         }
 
         Class converterClass = (Class) _converterIdToClassMap.get(converterId);
@@ -466,7 +466,7 @@
         if (targetClass == null)
         {
             log.error("createConverter: targetClass = null is not allowed");
-            throw new NullPointerException("createConverter: targetClass = null ist not allowed");
+            throw new NullPointerException("createConverter: targetClass = null is not allowed");
         }
 
         Converter converter = internalCreateConverter(targetClass);
@@ -595,7 +595,7 @@
         if ((reference == null) || (reference.length() == 0))
         {
             log.error("createMethodBinding: reference = null is not allowed");
-            throw new NullPointerException("createMethodBinding: reference = null ist not allowed");
+            throw new NullPointerException("createMethodBinding: reference = null is not allowed");
         }
 
         // We choose to instantiate a new MethodBinding every time as this is much easier
@@ -610,7 +610,7 @@
         if ((validatorId == null) || (validatorId.length() == 0))
         {
             log.error("createValidator: validatorId = null is not allowed");
-            throw new NullPointerException("createValidator: validatorId = null ist not allowed");
+            throw new NullPointerException("createValidator: validatorId = null is not allowed");
         }
 
         Class validatorClass = (Class) _validatorClassMap.get(validatorId);