diff options
author | sameb <sameb@google.com> | 2015-03-31 13:42:40 -0700 |
---|---|---|
committer | Sam Berlin <sameb@google.com> | 2015-04-21 09:37:16 -0400 |
commit | 6c85843a85100c01992a1f3c6a16bb9270055d84 (patch) | |
tree | 71bf1ebfae17bcdc46c9161704f43058e21a2b22 | |
parent | 06669e7978846489c0b80ca5a18f3cae0283f089 (diff) | |
download | guice-6c85843a85100c01992a1f3c6a16bb9270055d84.tar.gz |
Add a default value and make it true for dagger & guice MapKey.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=89998087
-rw-r--r-- | extensions/multibindings/src/com/google/inject/multibindings/MapKey.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/multibindings/src/com/google/inject/multibindings/MapKey.java b/extensions/multibindings/src/com/google/inject/multibindings/MapKey.java index bcb6a3b8..2fc3374d 100644 --- a/extensions/multibindings/src/com/google/inject/multibindings/MapKey.java +++ b/extensions/multibindings/src/com/google/inject/multibindings/MapKey.java @@ -54,5 +54,5 @@ public @interface MapKey { * instances will be the keys. If {@code unwrapValue} is true, the value() type of key type * annotation will be the key type for injected map and the value instances will be the keys. */ - boolean unwrapValue(); + boolean unwrapValue() default true; } |