On Thu, 9 May 2024 13:16:05 GMT, Sean Mullan <[email protected]> wrote:
>> Kevin Driver has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> code review comment
>
> src/java.base/share/classes/javax/crypto/KDF.java line 150:
>
>> 148: KDF instance = null;
>> 149: try {
>> 150: instance = getInstance(algorithm, (AlgorithmParameterSpec)
>> null);
>
> You can return the instance directly, no need to store it in a local variable.
Done.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1596983029