We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 861fd3d commit 1e40e10Copy full SHA for 1e40e10
src/main/java/com/fasterxml/uuid/impl/NameBasedGenerator.java
@@ -1,6 +1,7 @@
1
package com.fasterxml.uuid.impl;
2
3
import java.nio.charset.Charset;
4
+import java.nio.charset.StandardCharsets;
5
import java.security.MessageDigest;
6
import java.util.UUID;
7
@@ -18,10 +19,7 @@
18
19
*/
20
public class NameBasedGenerator extends StringArgGenerator
21
{
- public final static Charset _utf8;
22
- static {
23
- _utf8 = Charset.forName("UTF-8");
24
- }
+ public final static Charset _utf8 = StandardCharsets.UTF_8;
25
26
private final LoggerFacade _logger = LoggerFacade.getLogger(getClass());
27
0 commit comments