[webbeans-commits] Webbeans SVN: r61 - ri/trunk/webbeans-impl/src/main/java/org/jboss/webbeans.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Tue Aug 5 19:03:33 EDT 2008
Author: pete.muir at jboss.org
Date: 2008-08-05 19:03:33 -0400 (Tue, 05 Aug 2008)
New Revision: 61
Modified:
ri/trunk/webbeans-impl/src/main/java/org/jboss/webbeans/BasicContext.java
Log:
Use Class<? extends Annotation>
Modified: ri/trunk/webbeans-impl/src/main/java/org/jboss/webbeans/BasicContext.java
===================================================================
--- ri/trunk/webbeans-impl/src/main/java/org/jboss/webbeans/BasicContext.java 2008-07-22 16:56:34 UTC (rev 60)
+++ ri/trunk/webbeans-impl/src/main/java/org/jboss/webbeans/BasicContext.java 2008-08-05 23:03:33 UTC (rev 61)
@@ -17,9 +17,9 @@
public class BasicContext implements Context
{
private Map<ComponentInstance<?>, Object> values;
- private Class<Annotation> scopeType;
+ private Class<? extends Annotation> scopeType;
- public BasicContext(Class<Annotation> scopeType)
+ public BasicContext(Class<? extends Annotation> scopeType)
{
this.scopeType = scopeType;
values = new HashMap<ComponentInstance<?>,Object>();
@@ -47,7 +47,7 @@
return instance;
}
- public Class<Annotation> getScopeType()
+ public Class<? extends Annotation> getScopeType()
{
return scopeType;
}
More information about the weld-commits
mailing list