On Wed, 7 Aug 2024 21:44:09 GMT, Chen Liang <li...@openjdk.org> wrote:

>> This PR fixes `java.util.Deque`'s specification to name `peekFirst()` as an 
>> equivalent to Stack's `peek()` method since both of them don't throw when a 
>> collection is empty. This is not the case with the current `getFirst()` 
>> method.
>> 
>> Please let me know if I have to fix something in the PR. Will appreciate 
>> your guidance since this is my first PR to JDK.
>
> Marked as reviewed by liach (Reviewer).

@liach, thanks for reviewing and approving.

Regarding the bot's comment. Double-checked, the commit has full name. Should 
be fine to merge.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20363#issuecomment-2274846108

Reply via email to