(String str)
| 662 | } |
| 663 | |
| 664 | public static String encode(String str) { |
| 665 | if (str == null) return ""; |
| 666 | |
| 667 | try { |
| 668 | return URLEncoder.encode(str, "utf-8"); |
| 669 | } catch (UnsupportedEncodingException e) { |
| 670 | e.printStackTrace(); |
| 671 | } |
| 672 | return str; |
| 673 | } |
| 674 | |
| 675 | } |
no outgoing calls
no test coverage detected