Author: shane.bryzak(a)jboss.com
Date: 2009-08-11 07:03:29 -0400 (Tue, 11 Aug 2009)
New Revision: 3430
Removed:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Hallway.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/HallwayBinding.java
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java
Log:
removed unnecessary classes
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java 2009-08-11
10:46:46 UTC (rev 3429)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java 2009-08-11
11:03:29 UTC (rev 3430)
@@ -352,13 +352,10 @@
public void testDependentScopedDecoratorsAreDependentObjectsOfBean()
{
Bean<Interior> roomBean = getBeans(Interior.class, new
RoomBinding()).iterator().next();
- Bean<Interior> hallwayBean = getBeans(Interior.class, new
HallwayBinding()).iterator().next();
CreationalContext<Interior> roomCreationalContext =
getCurrentManager().createCreationalContext(roomBean);
- CreationalContext<Interior> hallwayCreationalContext =
getCurrentManager().createCreationalContext(hallwayBean);
Interior room = roomBean.create(roomCreationalContext);
- Interior hallway = hallwayBean.create(hallwayCreationalContext);
InteriorDecorator.reset();
@@ -368,6 +365,5 @@
roomBean.destroy(room, roomCreationalContext);
assert InteriorDecorator.isDestroyed();
-
}
}
Deleted:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Hallway.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Hallway.java 2009-08-11
10:46:46 UTC (rev 3429)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Hallway.java 2009-08-11
11:03:29 UTC (rev 3430)
@@ -1,22 +0,0 @@
-package org.jboss.jsr299.tck.tests.context.dependent;
-
-import static java.lang.annotation.ElementType.FIELD;
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.PARAMETER;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-import javax.enterprise.inject.BindingType;
-
-@Target( { TYPE, METHOD, PARAMETER, FIELD })
-@Retention(RUNTIME)
-@Documented
-@BindingType
-@interface Hallway
-{
-
-}
Deleted:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/HallwayBinding.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/HallwayBinding.java 2009-08-11
10:46:46 UTC (rev 3429)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/HallwayBinding.java 2009-08-11
11:03:29 UTC (rev 3430)
@@ -1,8 +0,0 @@
-package org.jboss.jsr299.tck.tests.context.dependent;
-
-import javax.enterprise.inject.AnnotationLiteral;
-
-class HallwayBinding extends AnnotationLiteral<Hallway> implements Hallway
-{
-
-}
Show replies by date