Author: struberg
Date: Fri May 22 08:31:18 2015
New Revision: 1681042
URL: http://svn.apache.org/r1681042
Log:
remove unused 'withAnnotaions'
This was initially intended for CDI Extension support but turned out
not to be needed.
Modified:
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/EventMetadataImpl.java
Modified:
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/EventMetadataImpl.java
URL:
http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/EventMetadataImpl.java?rev=1681042&r1=1681041&r2=1681042&view=diff
==============================================================================
---
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/EventMetadataImpl.java
(original)
+++
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/EventMetadataImpl.java
Fri May 22 08:31:18 2015
@@ -52,16 +52,9 @@ public class EventMetadataImpl implement
private final InjectionPoint injectionPoint;
private final Set<Annotation> qualifiers;
private transient WebBeansContext webBeansContext;
- private final Class[] withAnnotations; // only used for
ProcessAnnotatedType events
-
public EventMetadataImpl(Type selectType, Type type, InjectionPoint
injectionPoint, Annotation[] qualifiers, WebBeansContext context)
{
- this(selectType, type, injectionPoint, qualifiers, context, null);
- }
-
- public EventMetadataImpl(Type selectType, Type type, InjectionPoint
injectionPoint, Annotation[] qualifiers, WebBeansContext context, Class[]
withAnnotations)
- {
context.getAnnotationManager().checkQualifierConditions(qualifiers);
this.selectType = selectType;
this.type = type;
@@ -85,7 +78,6 @@ public class EventMetadataImpl implement
}
}
this.qualifiers = Collections.unmodifiableSet(completeQualifiers);
- this.withAnnotations = withAnnotations;
}
@Override
@@ -133,11 +125,6 @@ public class EventMetadataImpl implement
return qualifiers;
}
- public Class[] getWithAnnotations()
- {
- return withAnnotations;
- }
-
public EventMetadataImpl select(Annotation... bindings)
{
return select(type, bindings);