Author: pete.muir(a)jboss.org
Date: 2009-03-20 10:13:00 -0400 (Fri, 20 Mar 2009)
New Revision: 2123
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/xml/XmlEnvironment.java
Log:
minor
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/xml/XmlEnvironment.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/xml/XmlEnvironment.java 2009-03-20
13:33:15 UTC (rev 2122)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/xml/XmlEnvironment.java 2009-03-20
14:13:00 UTC (rev 2123)
@@ -9,7 +9,6 @@
import org.jboss.webbeans.bootstrap.spi.WebBeanDiscovery;
import org.jboss.webbeans.introspector.AnnotatedAnnotation;
import org.jboss.webbeans.introspector.AnnotatedClass;
-import org.jboss.webbeans.introspector.jlr.AnnotatedAnnotationImpl;
import org.jboss.webbeans.introspector.jlr.AnnotatedClassImpl;
import org.jboss.webbeans.resources.spi.ResourceLoader;
@@ -56,9 +55,9 @@
return
AnnotatedClassImpl.of(serviceRegistry.get(ResourceLoader.class).classForName(className).asSubclass(expectedType));
}
- public <T extends Annotation> AnnotatedAnnotation<? extends T>
loadAnnotation(String className, Class<T> expectedType)
+ public <T extends Annotation> Class<? extends T> loadAnnotation(String
className, Class<T> expectedType)
{
- return
AnnotatedAnnotationImpl.of(serviceRegistry.get(ResourceLoader.class).classForName(className).asSubclass(expectedType));
+ return
serviceRegistry.get(ResourceLoader.class).classForName(className).asSubclass(expectedType);
}
public List<Class<? extends Annotation>> getEnabledDeploymentTypes()
Show replies by date