tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1297147 - /openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/FinderFactory.java
Date Mon, 05 Mar 2012 18:16:45 GMT
Author: rmannibucau
Date: Mon Mar  5 18:16:45 2012
New Revision: 1297147

URL: http://svn.apache.org/viewvc?rev=1297147&view=rev
Log:
removing useless local variables

Modified:
    openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/FinderFactory.java

Modified: openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/FinderFactory.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/FinderFactory.java?rev=1297147&r1=1297146&r2=1297147&view=diff
==============================================================================
--- openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/FinderFactory.java
(original)
+++ openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/FinderFactory.java
Mon Mar  5 18:16:45 2012
@@ -48,11 +48,9 @@ public class FinderFactory {
         IAnnotationFinder finder;
         if (module instanceof WebModule) {
             WebModule webModule = (WebModule) module;
-            final ClassLoader webClassLoader = webModule.getClassLoader();
             finder = new AnnotationFinder(new WebappAggregatedArchive(webModule, webModule.getScannableUrls())).link();
         } else if (module instanceof ConnectorModule) {
         	ConnectorModule connectorModule = (ConnectorModule) module;
-        	final ClassLoader connectorClassLoader = connectorModule.getClassLoader();
         	finder = new AnnotationFinder(new ConfigurableClasspathArchive(connectorModule,
connectorModule.getLibraries())).link();
         } else if (module.getJarLocation() != null) {
             String location = module.getJarLocation();
@@ -235,7 +233,7 @@ public class FinderFactory {
             }
         }
 
-        private static class AnnotatedClassPredicate<T> extends Predicate<Annotated<Class<?>>>
{
+        private static class AnnotatedClassPredicate extends Predicate<Annotated<Class<?>>>
{
             public AnnotatedClassPredicate(final List<String> list) {
                 super(list);
             }



Mime
View raw message