openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r736833 - /incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/xml/XMLInjectableConstructor.java
Date Thu, 22 Jan 2009 22:34:18 GMT
Author: struberg
Date: Thu Jan 22 14:34:18 2009
New Revision: 736833

URL: http://svn.apache.org/viewvc?rev=736833&view=rev
Log:
removed unused variable constructor and use variable con from the parent class instead

Modified:
    incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/xml/XMLInjectableConstructor.java

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/xml/XMLInjectableConstructor.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/xml/XMLInjectableConstructor.java?rev=736833&r1=736832&r2=736833&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/xml/XMLInjectableConstructor.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/xml/XMLInjectableConstructor.java
Thu Jan 22 14:34:18 2009
@@ -27,8 +27,6 @@
 
 public class XMLInjectableConstructor<T> extends InjectableConstructor<T>
 {
-    private Constructor<T> constructor;
-
     private List<XMLInjectionPointModel> injectionPointModelList = new ArrayList<XMLInjectionPointModel>();
 
     public XMLInjectableConstructor(Constructor<T> constructor, AbstractComponent<?>
owner)
@@ -90,7 +88,7 @@
      */
     public Constructor<T> getConstructor()
     {
-        return constructor;
+        return con;
     }
 
     public void addInjectionPointModel(XMLInjectionPointModel model)



Mime
View raw message