On Tue, 2 Aug 2022 21:21:51 GMT, Roger Riggs <rri...@openjdk.org> wrote:
> True, many ways to factor the code. Another possibility is add a field to the > enum that holds a `java.util.Function<Iteger, Set<Location>>)` and initialize > it each with a lambda of the code now in the locations(cffv) method that maps > the cffv to the set of locations. Pushed a refactoring to use lambdas; thanks. ------------- PR: https://git.openjdk.org/jdk/pull/9299