Code Maintenance: Replace UTF-8 by StandardCharsets.UTF_8 #1352
Labels
code-maintenance
Adding/editing javadocs, unit tests, formatting.
feature
Adding functionality that adds value
Is your feature request related to a problem? Please describe.
There are quite a few places using a "UTF-8" string for encoding/decoding.
These should be replaced by the constant
StandardCharsets.UTF_8
. This leads to cleaner code, and in some cases allows us to remove a bogustry/catch
for anUnsupportedEncodingException
that cannot happen.The text was updated successfully, but these errors were encountered: