openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1680664 - in /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans: portable/events/discovery/AfterBeanDiscoveryImpl.java util/GenericsUtil.java
Date Wed, 20 May 2015 19:38:03 GMT
Author: struberg
Date: Wed May 20 19:38:02 2015
New Revision: 1680664

URL: http://svn.apache.org/r1680664
Log:
remove unused method and field

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/AfterBeanDiscoveryImpl.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/GenericsUtil.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/AfterBeanDiscoveryImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/AfterBeanDiscoveryImpl.java?rev=1680664&r1=1680663&r2=1680664&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/AfterBeanDiscoveryImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/AfterBeanDiscoveryImpl.java
Wed May 20 19:38:02 2015
@@ -56,7 +56,6 @@ public class AfterBeanDiscoveryImpl impl
 
     private static final Logger logger = WebBeansLoggerFacade.getLogger(AfterBeanDiscoveryImpl.class);
     private final WebBeansContext webBeansContext;
-    private Object extension;
     private boolean started;
 
     public AfterBeanDiscoveryImpl(WebBeansContext webBeansContext)
@@ -242,8 +241,4 @@ public class AfterBeanDiscoveryImpl impl
         return beanManager.getAnnotatedTypes(type);
     }
 
-    public void setExtension(final Object extension)
-    {
-        this.extension = extension;
-    }
 }

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/GenericsUtil.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/GenericsUtil.java?rev=1680664&r1=1680663&r2=1680664&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/GenericsUtil.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/GenericsUtil.java
Wed May 20 19:38:02 2015
@@ -796,20 +796,6 @@ public final class GenericsUtil
         }
     }
 
-    private static Type getRawType(Type[] types, Type actualType, Type declaringType)
-    {
-        Class<?>[] rawTypes = getRawTypes(types, actualType);
-        Class<?>[] classTypes = getClassTypes(rawTypes);
-        if (classTypes.length > 0)
-        {
-            return getMostSpecificType(classTypes, types);
-        }
-        else
-        {
-            return getMostSpecificType(rawTypes, types);
-        }
-    }
-
     private static <T> Class<T>[] getRawTypes(Type[] types)
     {
         return getRawTypes(types, null);



Mime
View raw message