RFR: JDK-8284112 Minor cleanup could be done in javax.crypto

Bradford Wetmore wetmore at openjdk.java.net
Wed Apr 13 05:35:20 UTC 2022


On Tue, 12 Apr 2022 21:59:09 GMT, Mark Powers <duke at openjdk.java.net> wrote:

> JDK-8284112 Minor cleanup could be done in javax.crypto

src/java.base/share/classes/javax/crypto/CryptoPermission.java line 437:

> 435:             // may be the best try.
> 436:             return this.algParamSpec.equals(algParamSpec);
> 437:         } else return !this.checkParam;

Please use the standard coding format.

    } else { 
        return !this.checkParam;
    }

or

    } 
    
    return !this.checkParam;

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

PR: https://git.openjdk.java.net/jdk/pull/8214


More information about the security-dev mailing list