Author: pete.muir(a)jboss.org
Date: 2009-08-10 09:46:09 -0400 (Mon, 10 Aug 2009)
New Revision: 3417
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/lifecycle/BlackWidowProducer.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/lifecycle/NullSpiderProducer.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/lifecycle/NullSpiderProducer_Broken.java
Log:
Remove ambiguous names
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/lifecycle/BlackWidowProducer.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/lifecycle/BlackWidowProducer.java 2009-08-10
13:22:35 UTC (rev 3416)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/lifecycle/BlackWidowProducer.java 2009-08-10
13:46:09 UTC (rev 3417)
@@ -1,13 +1,11 @@
package org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle;
-import javax.enterprise.inject.Named;
import javax.enterprise.inject.Produces;
public class BlackWidowProducer
{
public static BlackWidow blackWidow = new BlackWidow();
@Produces @Tame
- @Named("blackWidow")
public BlackWidow produceBlackWidow = blackWidow;
}
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/lifecycle/NullSpiderProducer.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/lifecycle/NullSpiderProducer.java 2009-08-10
13:22:35 UTC (rev 3416)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/lifecycle/NullSpiderProducer.java 2009-08-10
13:46:09 UTC (rev 3417)
@@ -17,7 +17,6 @@
package org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle;
-import javax.enterprise.inject.Named;
import javax.enterprise.inject.Produces;
/**
@@ -29,6 +28,6 @@
*/
public class NullSpiderProducer
{
- @Produces @Named("blackWidow") @Null @Working public BlackWidow
produceBlackWidow = null;
+ @Produces @Null @Working public BlackWidow produceBlackWidow = null;
}
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/lifecycle/NullSpiderProducer_Broken.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/lifecycle/NullSpiderProducer_Broken.java 2009-08-10
13:22:35 UTC (rev 3416)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/lifecycle/NullSpiderProducer_Broken.java 2009-08-10
13:46:09 UTC (rev 3417)
@@ -18,7 +18,6 @@
package org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle;
import javax.enterprise.context.RequestScoped;
-import javax.enterprise.inject.Named;
import javax.enterprise.inject.Produces;
/**
@@ -30,6 +29,6 @@
*/
public class NullSpiderProducer_Broken
{
- @Produces @RequestScoped @Named("blackWidow") @Null @Broken public
BlackWidow produceBlackWidow = null;
+ @Produces @RequestScoped @Null @Broken public BlackWidow produceBlackWidow = null;
}