Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
In some cases it is possible to replace charset strings with charset constants.
There are two advantages in doing this:
- If somebody introduces a typo in the constant name that will result in a compiler error
- Error handling for the UnsupportedEncodingException can be removed