You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by rm...@apache.org on 2013/03/24 22:28:40 UTC

git commit: unused var

Updated Branches:
  refs/heads/master 320aa8cea -> d511f2337


unused var


Project: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/commit/d511f233
Tree: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/tree/d511f233
Diff: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/diff/d511f233

Branch: refs/heads/master
Commit: d511f23375ac02ff767cc634808ac6080edba7ed
Parents: 320aa8c
Author: Romain Manni-Bucau <rm...@apache.org>
Authored: Sun Mar 24 22:28:30 2013 +0100
Committer: Romain Manni-Bucau <rm...@apache.org>
Committed: Sun Mar 24 22:28:30 2013 +0100

----------------------------------------------------------------------
 .../invocationhandler/PartialBeanLifecycle.java    |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/d511f233/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/PartialBeanLifecycle.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/PartialBeanLifecycle.java b/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/PartialBeanLifecycle.java
index 400bf34..e426f0d 100644
--- a/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/PartialBeanLifecycle.java
+++ b/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/PartialBeanLifecycle.java
@@ -137,8 +137,11 @@ class PartialBeanLifecycle<T, H extends InvocationHandler> implements Contextual
             this.creationalContextOfDependentHandler.release();
         }
 
+        /*
         H handlerInstance = (H) ((PartialBeanMethodHandler)((ProxyObject) instance).getHandler()).getHandlerInstance();
-        //injectionTarget.dispose(handlerInstance); //currently producers aren't supported
+        injectionTarget.dispose(handlerInstance); //currently producers aren't supported
+        }
+        */
         creationalContext.release();
     }
 }