Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor typos fixes

git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1421114 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 2cd078502bb337a240a8f4a1ff4833698dbd97bd 1 parent b069aa4
@gnodet gnodet authored
View
6 blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java
@@ -312,7 +312,7 @@ private Object getInstance() throws ComponentDefinitionException {
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 @@ private Object getInstance() throws ComponentDefinitionException {
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 @@ private void runBeanProcInit(Method initMethod, Object obj){
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));
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.