You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2017/04/11 20:42:41 UTC
[jira] [Created] (CALCITE-1752) Use URLDecoder#decode to handle
URLs acquired from getResource(..) calls in test cases
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)