aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1421114 - /aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java
Date Thu, 13 Dec 2012 08:11:39 GMT
Author: gnodet
Date: Thu Dec 13 08:11:38 2012
New Revision: 1421114

URL: http://svn.apache.org/viewvc?rev=1421114&view=rev
Log:
Minor typos fixes

Modified:
    aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java

Modified: aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java?rev=1421114&r1=1421113&r2=1421114&view=diff
==============================================================================
--- aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java
(original)
+++ aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java
Thu Dec 13 08:11:38 2012
@@ -312,7 +312,7 @@ public class BeanRecipe extends Abstract
                     Map.Entry<Method, List<Object>> match = matches.entrySet().iterator().next();
                     instance = invoke(match.getKey(), null, match.getValue().toArray());
                 } catch (Throwable e) {
-                    throw new ComponentDefinitionException("Error when instanciating bean
" + getName() + " of class " + getType(), getRealCause(e));
+                    throw new ComponentDefinitionException("Error when instantiating bean
" + getName() + " of class " + getType(), getRealCause(e));
                 }
             } else if (matches.size() == 0) {
                 throw new ComponentDefinitionException("Unable to find a matching factory
method " + factoryMethod + " on class " + getType().getName() + " for arguments " + args +
" when instanciating bean " + getName());
@@ -330,7 +330,7 @@ public class BeanRecipe extends Abstract
                     Map.Entry<Constructor, List<Object>> match = matches.entrySet().iterator().next();
                     instance = newInstance(match.getKey(), match.getValue().toArray());
                 } catch (Throwable e) {
-                    throw new ComponentDefinitionException("Error when instanciating bean
" + getName() + " of class " + getType(), getRealCause(e));
+                    throw new ComponentDefinitionException("Error when instantiating bean
" + getName() + " of class " + getType(), getRealCause(e));
                 }
             } else if (matches.size() == 0) {
                 throw new ComponentDefinitionException("Unable to find a matching constructor
on class " + getType().getName() + " for arguments " + args + " when instanciating bean "
+ getName());
@@ -711,7 +711,7 @@ public class BeanRecipe extends Abstract
             try {
                 invoke(initMethod, obj, (Object[]) null);
             } catch (Throwable t) {
-                throw new ComponentDefinitionException("Unable to intialize bean " + getName(),
getRealCause(t));
+                throw new ComponentDefinitionException("Unable to initialize bean " + getName(),
getRealCause(t));
             }
         }   
     }



Mime
View raw message