(Strength strength)
| 253 | } |
| 254 | |
| 255 | MapMaker setValueStrength(Strength strength) { |
| 256 | checkState(valueStrength == null, "Value strength was already set to %s", valueStrength); |
| 257 | valueStrength = checkNotNull(strength); |
| 258 | if (strength != Strength.STRONG) { |
| 259 | // STRONG could be used during deserialization. |
| 260 | useCustomMap = true; |
| 261 | } |
| 262 | return this; |
| 263 | } |
| 264 | |
| 265 | Strength getValueStrength() { |
| 266 | return MoreObjects.firstNonNull(valueStrength, Strength.STRONG); |
no test coverage detected