leehaut opened a new pull request, #6999: URL: https://github.com/apache/hop/pull/6999
This PR improves encoding handling by standardizing UTF-8 usage across the codebase and simplifying exception management. - Extracted the UTF-8 string constant into a shared `Const` class: `String UTF_8 = "UTF-8";` - Updated `URLEncoder.encode(routingPolicyString, "UTF-8")` to use `StandardCharsets.UTF_8`: `URLEncoder.encode(routingPolicyString, StandardCharsets.UTF_8)` - Removed unnecessary `UnsupportedEncodingException` handling, as `StandardCharsets.UTF_8` is guaranteed to be available. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
