google / google/guice

Binder EDSL says bind(ConcreteClass.class) does nothing

Open
#649 0 comments 0 reactions 0 assignees View on GitHub
imported
Dominant language
Java
Stars
12.7k
Forks
1.7k
Avg merge
11m
Merged PRs (30d)
2

Description

_From [sameb@google.com](https://code.google.com/u/102020886704067384983/) on August 24, 2011 13:20:09_

Binder's EDSL description ( http://google-guice.googlecode.com/svn/tags/3.0/javadoc/com/google/inject/Binder.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: http://code.google.com/p/google-guice/issues/detail?id=649_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.