matsim-libs icon indicating copy to clipboard operation
matsim-libs copied to clipboard

Rename TimeBinMap.TimeBin::getValue(Supplier<T) to computeIfAbsent

Open Janekdererste opened this issue 3 years ago • 1 comments

Change method name as suggested here https://github.com/matsim-org/matsim-libs/pull/2174#discussion_r968368132

Janekdererste avatar Sep 14 '22 06:09 Janekdererste

Hm, don't know why the formatting in the test changed 🤷‍♀️

Janekdererste avatar Sep 14 '22 06:09 Janekdererste

@Janekdererste I think we should merge it.

michalmac avatar Dec 29 '22 09:12 michalmac

Actually, this renaming has been already been done in #2179 (commit b4470b8820447181066d279fe9eb08bbbb842064), so I am closing this PR.

michalmac avatar Dec 29 '22 09:12 michalmac