> There are some boolean expressions that could be improved for better
> readability in the SunJSSE provider implementation. For example:
>
> - if (cert instanceof X509Certificate == false) {
> + if (!(cert instanceof X509Certificate)) {
>
> - return isDTLS ? true : (id >= TLS10.id);
> + retu
On Tue, 5 Jan 2021 07:06:42 GMT, Xue-Lei Andrew Fan wrote:
> There are some boolean expressions that could be improved for better
> readability in the SunJSSE provider implementation. For example:
>
> - if (cert instanceof X509Certificate == false) {
> + if (!(cert instanceof X509Certificate)
There are some boolean expressions that could be improved for better
readability in the SunJSSE provider implementation. For example:
- if (cert instanceof X509Certificate == false) {
+ if (!(cert instanceof X509Certificate)) {
- return isDTLS ? true : (id >= TLS10.id);
+ return isDTLS || (id