Author: struberg Date: Wed Feb 23 09:25:54 2011 New Revision: 1073652 URL: http://svn.apache.org/viewvc?rev=1073652&view=rev Log: OWB-461 drop unused variables
Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/WebBeansInterceptorConfig.java openwebbeans/trunk/webbeans-jsf/src/main/java/org/apache/webbeans/jsf/OwbApplication.java openwebbeans/trunk/webbeans-porting/src/main/java/org/apache/webbeans/test/tck/ELImpl.java Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/WebBeansInterceptorConfig.java URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/WebBeansInterceptorConfig.java?rev=1073652&r1=1073651&r2=1073652&view=diff ============================================================================== --- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/WebBeansInterceptorConfig.java (original) +++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/WebBeansInterceptorConfig.java Wed Feb 23 09:25:54 2011 @@ -151,7 +151,7 @@ public final class WebBeansInterceptorCo Set<Interceptor<?>> componentInterceptors = null; Set<Annotation> bindingTypeSet = new HashSet<Annotation>(); - Annotation[] anns = new Annotation[0]; + Annotation[] anns; Annotation[] typeAnns = null; if(annotations != null) { @@ -307,12 +307,10 @@ public final class WebBeansInterceptorCo OpenWebBeansEjbLCAPlugin ejbPlugin = webBeansContext.getPluginLoader().getEjbLCAPlugin(); Class <? extends Annotation> prePassivateClass = null; Class <? extends Annotation> postActivateClass = null; - Class <? extends Annotation> aroundTimeoutClass = null; if (null != ejbPlugin) { prePassivateClass = ejbPlugin.getPrePassivateClass(); postActivateClass = ejbPlugin.getPostActivateClass(); - aroundTimeoutClass = ejbPlugin.getAroundTimeoutClass(); } if(annotatedType != null) Modified: openwebbeans/trunk/webbeans-jsf/src/main/java/org/apache/webbeans/jsf/OwbApplication.java URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-jsf/src/main/java/org/apache/webbeans/jsf/OwbApplication.java?rev=1073652&r1=1073651&r2=1073652&view=diff ============================================================================== --- openwebbeans/trunk/webbeans-jsf/src/main/java/org/apache/webbeans/jsf/OwbApplication.java (original) +++ openwebbeans/trunk/webbeans-jsf/src/main/java/org/apache/webbeans/jsf/OwbApplication.java Wed Feb 23 09:25:54 2011 @@ -62,7 +62,6 @@ public class OwbApplication extends Appl public OwbApplication(Application wrappedApplication) { - ELAdaptor elAdaptor = WebBeansContext.getInstance().getService(ELAdaptor.class); this.wrappedApplication = wrappedApplication; } Modified: openwebbeans/trunk/webbeans-porting/src/main/java/org/apache/webbeans/test/tck/ELImpl.java URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-porting/src/main/java/org/apache/webbeans/test/tck/ELImpl.java?rev=1073652&r1=1073651&r2=1073652&view=diff ============================================================================== --- openwebbeans/trunk/webbeans-porting/src/main/java/org/apache/webbeans/test/tck/ELImpl.java (original) +++ openwebbeans/trunk/webbeans-porting/src/main/java/org/apache/webbeans/test/tck/ELImpl.java Wed Feb 23 09:25:54 2011 @@ -104,8 +104,7 @@ public class ELImpl implements EL public ELContext createELContext() { ELContext context = new ELContextImpl(); - ELContextEvent event = new ELContextEvent(context); - + return context; } } \ No newline at end of file