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

Clean duplicated non-null check in the SunJSSE provider implementation

    XMLWordPrintable

Details

    Description

      There are a few code check both non-null and instance of a class. The "instanceof" checking could cover the non-null check. For example, the following code:
          if ((cause != null) && (cause instanceof IOException)) {

      could be:
          if (cause instanceof IOException) {

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: