xiaodududu / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
0 stars 0 forks source link

Binder EDSL says bind(ConcreteClass.class) does nothing #649

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Binder's EDSL description 
(http://google-guice.googlecode.com/svn/tags/3.0/javadoc/com/google/inject/Binde
r.html) starts with the example of binding a concrete class to itself like 
this: "This statement does essentially nothing". It later on tells that in rare 
cases it might affect injection, but the phrasing makes you uncertain.

Original issue reported on code.google.com by sa...@google.com on 24 Aug 2011 at 5:20