(String s)
| 270 | } |
| 271 | |
| 272 | private static String decode(String s) { |
| 273 | try { |
| 274 | // TODO: Use URLDecoder.decode(String, Charset) when available |
| 275 | return URLDecoder.decode(s, UTF_8); |
| 276 | } catch (UnsupportedEncodingException impossible) { |
| 277 | throw new AssertionError("UTF-8 is not supported", impossible); |
| 278 | } |
| 279 | } |
| 280 | |
| 281 | private static String encode(String s) { |
| 282 | try { |
no outgoing calls
no test coverage detected