user avatar
Changed Java details (#225)
Richard Fussenegger authored
* Changed Java details

* Changed `Charset.forName("UTF-8")` to `StandardCharsets.UTF_8` to avoid string construction and typos.
* Removed Google `CharMatcher` dependency by adding a faster pure Java utility function to validate if a string consists solely of ASCII characters or not. However, the new function like the previous one still allows for control characters.

Signed-off-by: default avatarFleshgrinder <fleshgrinder@users.noreply.github.com>

* Optimize further

Signed-off-by: default avatarFleshgrinder <fleshgrinder@users.noreply.github.com>

* Fixed typo

Signed-off-by: default avatarFleshgrinder <fleshgrinder@users.noreply.github.com>
d1276489
Name Last commit Last update