openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1366773 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/OWBInjector.java
Date Sat, 28 Jul 2012 21:16:27 GMT
Author: struberg
Date: Sat Jul 28 21:16:26 2012
New Revision: 1366773

URL: http://svn.apache.org/viewvc?rev=1366773&view=rev
Log:
OWB-689 whoops typo

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/OWBInjector.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/OWBInjector.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/OWBInjector.java?rev=1366773&r1=1366772&r2=1366773&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/OWBInjector.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/OWBInjector.java
Sat Jul 28 21:16:26 2012
@@ -38,24 +38,24 @@ public final class OWBInjector
 
     /**
      * Inject dependencies of given instance.
-     * @param beamManager the BeanManager to use
+     * @param beanManager the BeanManager to use
      * @param instanceUnderInjection instance
      * @param ownerCreationalContext CreationalContext of the owner
      * @return this injector
      * @throws Exception if exception occurs
      */
     @SuppressWarnings("unchecked")
-    public static void inject(BeanManager beamManager, Object instanceUnderInjection, CreationalContext<?>
ownerCreationalContext)
+    public static void inject(BeanManager beanManager, Object instanceUnderInjection, CreationalContext<?>
ownerCreationalContext)
             throws Exception
     {
         CreationalContext<?> creationalContext = ownerCreationalContext;
         if(creationalContext == null)
         {
-            creationalContext = beamManager.createCreationalContext(null);
+            creationalContext = beanManager.createCreationalContext(null);
         }
 
-        AnnotatedType annotatedType = beamManager.createAnnotatedType(instanceUnderInjection.getClass());
-        beamManager.createInjectionTarget(annotatedType).inject(instanceUnderInjection, creationalContext);
+        AnnotatedType annotatedType = beanManager.createAnnotatedType(instanceUnderInjection.getClass());
+        beanManager.createInjectionTarget(annotatedType).inject(instanceUnderInjection, creationalContext);
     }
 
 



Mime
View raw message