On Fri, 23 Apr 2021 14:29:36 GMT, Chris Hegarty <che...@openjdk.org> wrote:
>> Patrick Concannon has updated the pull request with a new target base due to >> a merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains three additional >> commits since the last revision: >> >> - Removed redundant braces >> - Merge remote-tracking branch 'origin/master' into JDK-8265746 >> - 8265746: Update java.time to use instanceof pattern variable (part II) > > src/java.base/share/classes/java/time/Clock.java line 623: > >> 621: return (obj instanceof FixedClock other >> 622: && instant.equals(other.instant) >> 623: && zone.equals(other.zone)); > > The outer set of braces is redundant. Braces removed in 7f32ddb > src/java.base/share/classes/java/time/ZonedDateTime.java line 2191: > >> 2189: && dateTime.equals(other.dateTime) >> 2190: && offset.equals(other.offset) >> 2191: && zone.equals(other.zone)); > > same here. See 7f32ddb ------------- PR: https://git.openjdk.java.net/jdk/pull/3650