RFR: 8296143: CertAttrSet's set/get mechanism is not type-safe [v4]

Weijun Wang weijun at openjdk.org
Sun Nov 6 18:20:27 UTC 2022


On Sun, 6 Nov 2022 14:37:34 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

>> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   more cleanup
>
> src/java.base/share/classes/sun/security/x509/CertificateX509Key.java line 102:
> 
>> 100:      */
>> 101:     public PublicKey getKey() {
>> 102:         return(key);
> 
> Suggestion:
> 
>         return key;

Thanks. I was just copying lines from the old get method. Will fix.

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

PR: https://git.openjdk.org/jdk/pull/10959


More information about the security-dev mailing list