Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8259223

Simplify boolean expression in the SunJSSE provider

XMLWordPrintable

      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)) {

            xuelei Xuelei Fan
            xuelei Xuelei Fan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: