Author: limpbizkit
Date: Mon Jan 5 22:00:45 2009
New Revision: 799
Modified:
wiki/FrequentlyAskedQuestions.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/FrequentlyAskedQuestions.wiki
==============================================================================
--- wiki/FrequentlyAskedQuestions.wiki (original)
+++ wiki/FrequentlyAskedQuestions.wiki Mon Jan 5 22:00:45 2009
@@ -92,15 +92,17 @@
}}}
{{{
public static void main(String[] args) {
- Injector injector = Guice.createInjector(new LegModule(Left.class) {
- @Override void bindFoot() {
- bind(Foot.class).toInstance(new Foot("leftie"));
- }
- }, new LegModule(Right.class) {
- @Override void bindFoot() {
- bind(Foot.class).toInstance(new Foot("righty"));
- }
- });
+ Injector injector = Guice.createInjector(
+ new LegModule(Left.class) {
+ @Override void bindFoot() {
+ bind(Foot.class).toInstance(new Foot("leftie"));
+ }
+ },
+ new LegModule(Right.class) {
+ @Override void bindFoot() {
+ bind(Foot.class).toInstance(new Foot("righty"));
+ }
+ });
}
}}}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---