From 51559ec622c46cac1e4f5e87b30e15935057407a Mon Sep 17 00:00:00 2001 From: Dmitry Kryukov Date: Mon, 19 Aug 2024 21:50:28 +0300 Subject: [PATCH] Remove collection, which is updated, but never queried --- impl/src/main/java/org/jboss/weld/bean/DecoratorImpl.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/impl/src/main/java/org/jboss/weld/bean/DecoratorImpl.java b/impl/src/main/java/org/jboss/weld/bean/DecoratorImpl.java index cba065035e..576171b4f0 100644 --- a/impl/src/main/java/org/jboss/weld/bean/DecoratorImpl.java +++ b/impl/src/main/java/org/jboss/weld/bean/DecoratorImpl.java @@ -55,7 +55,6 @@ public static DecoratorImpl of(BeanAttributes attributes, EnhancedAnno private WeldInjectionPointAttributes delegateInjectionPoint; private Set delegateBindings; private Type delegateType; - private Set delegateTypes; private Set decoratedTypes; protected DecoratorImpl(BeanAttributes attributes, EnhancedAnnotatedType type, BeanManagerImpl beanManager) { @@ -90,8 +89,6 @@ protected void initDelegateBindings() { protected void initDelegateType() { this.delegateType = this.delegateInjectionPoint.getType(); - this.delegateTypes = new HashSet(); - delegateTypes.add(delegateType); } @Override