freemarker
freemarker copied to clipboard
use StandardCharsets instead of string
Since Java 7 StandardCharsets can be used for standard charsets. It prevents the unnecessary lookup of the charset and in addition no UnsupportedEncodingException can be thrown.