Skip to content

Commit

Permalink
Use matching lambda parameter names in Refaster before- and after-tem…
Browse files Browse the repository at this point in the history
…plates (#24)
  • Loading branch information
rickie authored Jan 1, 2022
1 parent 00012c6 commit 08e99fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ ImmutableSetMultimap<K, V2> before(Multimap<K, V1> multimap) {
@AfterTemplate
ImmutableSetMultimap<K, V2> after(Multimap<K, V1> multimap) {
return ImmutableSetMultimap.copyOf(
Multimaps.transformValues(multimap, v -> valueTransformation(v)));
Multimaps.transformValues(multimap, e -> valueTransformation(e)));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ ImmutableSetMultimap<Integer, String> testStreamOfMapEntriesToImmutableSetMultim

ImmutableSetMultimap<String, Integer> testTransformMultimapValuesToImmutableSetMultimap() {
return ImmutableSetMultimap.copyOf(
Multimaps.transformValues(ImmutableSetMultimap.of("foo", 1L), v -> Math.toIntExact(v)));
Multimaps.transformValues(ImmutableSetMultimap.of("foo", 1L), e -> Math.toIntExact(e)));
}

ImmutableSet<ImmutableSetMultimap<String, Integer>>
Expand Down

0 comments on commit 08e99fb

Please sign in to comment.