On Wed, 21 Apr 2021 09:06:45 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:
>> Patrick Concannon has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Updated single letter pattern variable names > > src/java.base/share/classes/java/time/Duration.java line 723: > >> 721: } >> 722: if (unit instanceof ChronoUnit u) { >> 723: switch (u) { > > Maybe `u` could be replaced with `chronoUnit` here too Variable name updated as suggested in 3dc1e07 ------------- PR: https://git.openjdk.java.net/jdk/pull/3170