openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r933977 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/StandaloneLifeCycle.java
Date Wed, 14 Apr 2010 15:09:19 GMT
Author: covener
Date: Wed Apr 14 15:09:18 2010
New Revision: 933977

URL: http://svn.apache.org/viewvc?rev=933977&view=rev
Log:
Allow subclasses of StandaloneLifeCycle to pass their logger in the constructor

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/StandaloneLifeCycle.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/StandaloneLifeCycle.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/StandaloneLifeCycle.java?rev=933977&r1=933976&r2=933977&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/StandaloneLifeCycle.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/StandaloneLifeCycle.java
Wed Apr 14 15:09:18 2010
@@ -31,9 +31,14 @@ public class StandaloneLifeCycle extends
 {
     private static final WebBeansLogger logger = WebBeansLogger.getLogger(StandaloneLifeCycle.class);
         
+    public StandaloneLifeCycle(Properties properties, WebBeansLogger logger)
+    {
+        super(properties, logger);        
+    }
+    
     public StandaloneLifeCycle()
     {
-        super(null, logger);        
+        this(null, logger);        
     }
     
     @Override



Mime
View raw message