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

Minor improvements in java.net.URI

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P5
    • 20
    • None
    • core-libs
    • None
    • b04

    Description

      - use String.equalsIgnoreCase() instead of hand-written code relying on String.charAt()
      - use String.compareToIgnoreCase() instead of hand-written code relying on String.charAt()
      - drop branches that are never executed
      - drop unused argument from URI.resolvePath()
      - simplify String-related operations

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: