Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1752

Use URLDecoder#decode to handle URLs acquired from getResource(..) calls in test cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • avatica-1.10.0, 1.13.0
    • None
    • None

    Description

      From https://github.com/apache/calcite/commit/6543c0fd8b63efb00d035790209f8546668d7aa5#commitcomment-21723380:

      michaelmior suggested that it would be better to replace my String.replace("%20", " ") with java.net.URLDecoder.decode instead. I am apt to agree with him

      Maybe we can pull this into a utility instead of littering it around test cases in avatica and calcite.

      Attachments

        Issue Links

          Activity

            People

              elserj Josh Elser
              elserj Josh Elser
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: