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