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

Remove redundant zero-length check in ClassDesc.of

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 18
    • core-libs
    • None
    • b18

    Description

      Andrey Turbanov suggests in https://github.com/openjdk/jdk/pull/5157:

      After JDK-8215510 (https://github.com/openjdk/jdk/commit/eed3a536c0) this condition is always false. Empty package name is handled separately.
      Found by IntelliJ IDEA inspection.

      Attachments

        Issue Links

          Activity

            People

              stsypanov Sergey Tsypanov
              stsypanov Sergey Tsypanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: