openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r826312 - /incubator/openwebbeans/trunk/atinject-tck/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java
Date Sat, 17 Oct 2009 21:49:33 GMT
Author: gerdogdu
Date: Sat Oct 17 21:49:33 2009
New Revision: 826312

URL: http://svn.apache.org/viewvc?rev=826312&view=rev
Log:
Update for using new @New  impl.

Modified:
    incubator/openwebbeans/trunk/atinject-tck/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java

Modified: incubator/openwebbeans/trunk/atinject-tck/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/atinject-tck/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java?rev=826312&r1=826311&r2=826312&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/atinject-tck/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java
(original)
+++ incubator/openwebbeans/trunk/atinject-tck/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java
Sat Oct 17 21:49:33 2009
@@ -21,9 +21,7 @@
 
 import org.atinject.tck.auto.Drivers;
 import org.atinject.tck.auto.DriversSeat;
-import org.atinject.tck.auto.FuelTank;
 import org.atinject.tck.auto.Seat;
-import org.atinject.tck.auto.accessories.Cupholder;
 import org.atinject.tck.auto.accessories.SpareTire;
 
 
@@ -35,29 +33,29 @@
     }
     
     @Produces @Drivers
-    public Seat produceDrivers(@New Cupholder cupHolder)
+    public Seat produceDrivers(@New DriversSeat seat)
     {
-        return new DriversSeat(cupHolder);
+        return seat;
     }
     
     
     @Produces @DriverBinding @BeanTypes(value={DriversSeat.class})
-    public DriversSeat produceDriverSeat(@New Cupholder cupHolder)
+    public DriversSeat produceDriverSeat(@New DriversSeat seat)
     {
-        return new DriversSeat(cupHolder);
+        return seat;
     }
     
     
     @Produces @Named("spare") @SpareBinding
-    public SpareTire produceSpare(@New FuelTank forSuper, @New FuelTank forSub)
+    public SpareTire produceSpare(@New SpareTire tire)
     {
-        return new SpareTire(forSuper, forSub);
+        return tire;
     }
     
     @Produces @Default @BeanTypes(value={SpareTire.class})
-    public SpareTire produceSpareTire(@New FuelTank forSuper, @New FuelTank forSub)
+    public SpareTire produceSpareTire(@New SpareTire tire)
     {
-        return new SpareTire(forSuper, forSub);
+        return tire;
     }
     
 }



Mime
View raw message