commit | 14e2703cd15b0ac745a0df80d25800692d8c727e | [log] [tgz] |
---|---|---|
author | Sam Berlin <sameb@google.com> | Sat May 03 00:39:35 2014 -0400 |
committer | Sam Berlin <sameb@google.com> | Sat May 03 00:51:59 2014 -0400 |
tree | cef9b80b8ac8ed836cf358a071d643282125bd0b | |
parent | 269f2f69279d2cc4c3859e9dd0c08cb5f24bcc86 [diff] |
Implement hashCode and equals on type returned by Providers.of(...). There doesn't seem to be any reason *not* to provide these methods, and it means downstream code that does bind(X.class).toProvider(Providers.of(null)) does not result in erroneous duplicate binding errors if Modules.override is used. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=65067530