RFR: JDK-8290975 Minor cleanup could be done in javax.security [v2]
Sean Mullan
mullan at openjdk.org
Fri Aug 5 10:13:49 UTC 2022
On Thu, 4 Aug 2022 17:03:37 GMT, Bradford Wetmore <wetmore at openjdk.org> wrote:
>> src/java.base/share/classes/javax/security/auth/callback/TextInputCallback.java line 46:
>>
>>> 44: * @since 1.4
>>> 45: */
>>> 46: private final String prompt;
>>
>> I think you can also mark `defaultText` final.
>
> Same as above.
Same comment as above about setting it to a default value in the constructors.
-------------
PR: https://git.openjdk.org/jdk/pull/9664
More information about the security-dev
mailing list