Author: limpbizkit
Date: Tue Jan 20 12:06:06 2009
New Revision: 809

Modified:
    wiki/FrequentlyAskedQuestions.wiki

Log:
Edited wiki page through web user interface.

Modified: wiki/FrequentlyAskedQuestions.wiki
==============================================================================
--- wiki/FrequentlyAskedQuestions.wiki  (original)
+++ wiki/FrequentlyAskedQuestions.wiki  Tue Jan 20 12:06:06 2009
@@ -137,8 +137,8 @@
  Neither constructors nor `...@provides` methods support optional injection.  
To work-around this, you can create an inner class that holds the optional  
value:
  {{{
  class Car {
-  private Engine engine;
-  private AirConditioner airConditioner;
+  private final Engine engine;
+  private final  AirConditioner airConditioner;

    @Inject
    public Car(Engine engine, AirConditionerHolder airConditionerHolder) {

--~--~---------~--~----~------------~-------~--~----~
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