On Thu, 11 Mar 2021 16:42:24 GMT, Patrick Concannon <pconcan...@openjdk.org> wrote:
>> Hi, >> >> Could someone please review my code for updating the code in the `java.lang` >> package to make use of the `instanceof` pattern variable? >> >> Kind regards, >> Patrick > > 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. ------------- PR: https://git.openjdk.java.net/jdk/pull/2913