Remove redundant zero-length check in ClassDesc.of

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 18
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b18

      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.

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

              Created:
              Updated:
              Resolved: