Skip to content

Commit

Permalink
Transform SQL support UrlEncode & UrlDecode functions
Browse files Browse the repository at this point in the history
delete test code in Function class

Co-authored-by: AloysZhang <[email protected]>
  • Loading branch information
MOONSakura0614 and aloyszhang authored Sep 9, 2024
1 parent 65a0d6d commit 2796dbe
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,4 @@ public Object parse(SourceData sourceData, int rowIndex, Context context) {
}
}

public static void main(String[] args) throws UnsupportedEncodingException {
String string = "https://www.google.com/search?q=java url encode";
String s = "bat apache";
System.out.println(URLEncoder.encode(string, StandardCharsets.UTF_8.toString()));
System.out.println(URLEncoder.encode(s, StandardCharsets.UTF_8.toString()));
}
}

0 comments on commit 2796dbe

Please sign in to comment.