You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by ge...@apache.org on 2010/02/07 23:24:58 UTC

svn commit: r907506 - /openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java

Author: gerdogdu
Date: Sun Feb  7 22:24:58 2010
New Revision: 907506

URL: http://svn.apache.org/viewvc?rev=907506&view=rev
Log:
Update while running TCK

Modified:
    openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java

Modified: openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java?rev=907506&r1=907505&r2=907506&view=diff
==============================================================================
--- openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java (original)
+++ openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java Sun Feb  7 22:24:58 2010
@@ -19,9 +19,7 @@
 
 import javax.decorator.Delegate;
 import javax.decorator.Decorator;
-import javax.enterprise.inject.Any;
 import javax.inject.Inject;
-import javax.inject.Named;
 
 import org.apache.commons.logging.Log;
 import org.apache.webbeans.reservation.bindings.ApplicationLog;
@@ -32,7 +30,7 @@
 @Decorator
 public class LoginDecorator implements ILoginController 
 {
-    @Delegate @Any @DatabaseLogin @Named ILoginController decorator;
+    @Inject @Delegate @DatabaseLogin ILoginController decorator;
     
     private @Inject @ApplicationLog Log logger;