RFR: 8265426: Update java.security to use instanceof pattern variable [v3]
Patrick Concannon
pconcannon at openjdk.java.net
Thu May 6 11:52:18 UTC 2021
On Mon, 26 Apr 2021 17:03:52 GMT, Jesper Steen Møller <jespersm at openjdk.org> wrote:
>> Patrick Concannon has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8265426: Reverted parameter names; removed redundant parenthesis
>
> src/java.base/share/classes/java/security/Provider.java line 2003:
>
>> 2001: return true;
>> 2002: }
>> 2003: if (!(cap.supportsParameter)) {
>
> Why the extra parens?
Parenthesis removed. See 9e9f9fb
> src/java.base/share/classes/java/security/Provider.java line 2012:
>
>> 2010: ("Parameter must be instanceof Key for engine " + type);
>> 2011: }
>> 2012: if (!(hasKeyAttributes())) {
>
> Also here: Why the parens?
Parenthesis removed. See 9e9f9fb
-------------
PR: https://git.openjdk.java.net/jdk/pull/3687
More information about the security-dev
mailing list