Commit 7dfd6ef
util/util-security: scala2.13 compat for MapValues
Problem
scala2.13 introduce a breaking change to mapValues to return a view instead of a map. This broke the util-security build which was updated in D617641 to use mapValues.
Solution
Force the view into a map with `toMap`
Result
util-security can build for scala2.13
JIRA Issues: PSEC-10357
Differential Revision: https://phabricator.twitter.biz/D7879351 parent 3643e1e commit 7dfd6ef
File tree
1 file changed
+1
-1
lines changed- util-security/src/main/scala/com/twitter/util/security
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments