(no commit message)
[utils] / support / cdi / src / main / java / org / wamblee / cdi / CdiInjectorFactory.java
index de13ef54df162641c6552350a1508e25cef209ce..a4e575aa7f8b7bee581808a737948df1dc6e7d6b 100644 (file)
@@ -23,8 +23,8 @@ import org.wamblee.inject.Injector;
 import org.wamblee.inject.InjectorFactory;
 
 /**
- * Factory that creates CDI injectors. This class may be subclassed for testing to
- * override the injectors that are returned.
+ * Factory that creates CDI injectors. This class may be subclassed for testing
+ * to override the injectors that are returned.
  * 
  * @author Erik Brakkee
  */
@@ -34,11 +34,12 @@ public class CdiInjectorFactory implements InjectorFactory {
         .getLogger(CdiInjectorFactory.class.getName());
 
     private BeanManager beanManager;
-    
+
     /**
-     * Constructs the factory using a default bean manager. 
+     * Constructs the factory using a default bean manager.
      * 
-     * @throws IllegalArgumentException If bean manager is null. 
+     * @throws IllegalArgumentException
+     *             If bean manager is null.
      */
     public CdiInjectorFactory() {
         this(BeanManagerLookup.lookup());
@@ -48,10 +49,11 @@ public class CdiInjectorFactory implements InjectorFactory {
      * Constructs the factory using an explicit bean manager.
      * 
      * @param aBeanManager
-     * @throws IllegalArgumentException If bean manager is null. 
+     * @throws IllegalArgumentException
+     *             If bean manager is null.
      */
     public CdiInjectorFactory(BeanManager aBeanManager) {
-        if ( aBeanManager == null ) { 
+        if (aBeanManager == null) {
             throw new IllegalArgumentException("Bean manager is null");
         }
         beanManager = aBeanManager;