Author: jharting
Date: 2009-12-10 03:45:39 -0500 (Thu, 10 Dec 2009)
New Revision: 5263
Modified:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injectionpoint/InjectionPointTest.java
Log:
minor
Modified:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injectionpoint/InjectionPointTest.java
===================================================================
---
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injectionpoint/InjectionPointTest.java 2009-12-10
08:44:22 UTC (rev 5262)
+++
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injectionpoint/InjectionPointTest.java 2009-12-10
08:45:39 UTC (rev 5263)
@@ -143,7 +143,7 @@
FieldInjectionPointBean beanWithInjectedBean =
getInstanceByType(FieldInjectionPointBean.class);
BeanWithInjectionPointMetadata beanWithInjectionPoint =
beanWithInjectedBean.getInjectedBean();
assert beanWithInjectionPoint.getInjectedMetadata() != null;
- assert beanWithInjectionPoint.getInjectedMetadata().getAnnotated() instanceof
AnnotatedField;
+ assert beanWithInjectionPoint.getInjectedMetadata().getAnnotated() instanceof
AnnotatedField<?>;
assert
beanWithInjectionPoint.getInjectedMetadata().getAnnotated().isAnnotationPresent(AnimalStereotype.class);
}
@@ -155,7 +155,7 @@
MethodInjectionPointBean beanWithInjectedBean =
getInstanceByType(MethodInjectionPointBean.class);
BeanWithInjectionPointMetadata beanWithInjectionPoint =
beanWithInjectedBean.getInjectedBean();
assert beanWithInjectionPoint.getInjectedMetadata() != null;
- assert beanWithInjectionPoint.getInjectedMetadata().getAnnotated() instanceof
AnnotatedParameter;
+ assert beanWithInjectionPoint.getInjectedMetadata().getAnnotated() instanceof
AnnotatedParameter<?>;
assert
annotationSetMatches(beanWithInjectionPoint.getInjectedMetadata().getQualifiers(),
Default.class);
}
Show replies by date