RFR: 8263358: Update java.lang to use instanceof pattern variable [v3]
Patrick Concannon
pconcannon at openjdk.java.net
Mon Mar 15 09:21:23 UTC 2021
On Fri, 12 Mar 2021 17:38:30 GMT, Chris Hegarty <chegar at openjdk.org> wrote:
>> Patrick Concannon has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8263358: Refactored equals methods
>
> src/java.base/share/classes/java/lang/ProcessHandleImpl.java line 525:
>
>> 523: return (pid == other.pid) &&
>> 524: (startTime == other.startTime
>> 525: || startTime == 0
>
> This one can be a single expression. Otherwise, looks good.
Well spotted, Chris. Fixed in commit f7924d2
-------------
PR: https://git.openjdk.java.net/jdk/pull/2913
More information about the core-libs-dev
mailing list