calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CALCITE-1752) Use URLDecoder#decode to handle URLs acquired from getResource(..) calls in test cases
Date Tue, 11 Apr 2017 20:42:41 GMT
Josh Elser created CALCITE-1752:
-----------------------------------

             Summary: Use URLDecoder#decode to handle URLs acquired from getResource(..) calls
in test cases
                 Key: CALCITE-1752
                 URL: https://issues.apache.org/jira/browse/CALCITE-1752
             Project: Calcite
          Issue Type: Bug
            Reporter: Josh Elser
            Assignee: Josh Elser
            Priority: Minor
             Fix For: avatica-1.10.0, 1.13.0


>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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message