Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
In TextOutputFormat.java, instead of:
private static final String utf8 = "UTF-8"; private static final byte[] newline; static { try { newline = "\n".getBytes(utf8); } catch (UnsupportedException uee) { threw new IllegalArgumentException("can't find " + utf8 + " encoding"); } }
Let's do something like:
private static final byte[] newline = "\n".getBytes(StandardCharsets.UTF_8);
Attachments
Issue Links
- links to