geronimo-xbean-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1227770 - /geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/MetaAnnotatedElement.java
Date Thu, 05 Jan 2012 19:10:55 GMT
Author: dblevins
Date: Thu Jan  5 19:10:54 2012
New Revision: 1227770

URL: http://svn.apache.org/viewvc?rev=1227770&view=rev
Log:
Added missing constructor

Modified:
    geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/MetaAnnotatedElement.java

Modified: geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/MetaAnnotatedElement.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/MetaAnnotatedElement.java?rev=1227770&r1=1227769&r2=1227770&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/MetaAnnotatedElement.java
(original)
+++ geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/MetaAnnotatedElement.java
Thu Jan  5 19:10:54 2012
@@ -40,6 +40,10 @@ public class MetaAnnotatedElement<T exte
     protected final Map<Class<? extends Annotation>, MetaAnnotation<?>>
annotations = new HashMap<Class<? extends Annotation>, MetaAnnotation<?>>();
     protected final T target;
 
+    public MetaAnnotatedElement(T element) {
+        this(element, unroll(element));
+    }
+
     MetaAnnotatedElement(T target, Map<Class<? extends Annotation>, MetaAnnotation<?>>
annotations) {
         this.target = target;
         this.annotations.putAll(annotations);



Mime
View raw message