Revision: 1139
Author: isaac.q.shum
Date: Mon Feb  1 20:55:45 2010
Log: Fix for assisted inject bug introduced in r1120.
http://code.google.com/p/google-guice/source/detail?r=1139

Modified:
/trunk/extensions/assistedinject/src/com/google/inject/assistedinject/Parameter.java

=======================================
--- /trunk/extensions/assistedinject/src/com/google/inject/assistedinject/Parameter.java Tue Oct 20 01:02:21 2009 +++ /trunk/extensions/assistedinject/src/com/google/inject/assistedinject/Parameter.java Mon Feb 1 20:55:45 2010
@@ -94,7 +94,7 @@
       }
     }

-    return provider.get();
+    return isProvider ? provider : provider.get();
   }

   public boolean isBound(Injector injector) {

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en.

Reply via email to