Skip to content

Commit

Permalink
Use StandardCharsets constant
Browse files Browse the repository at this point in the history
Signed-off-by: Eamonn Mansour <47121388+eamansour@users.noreply.github.com>
  • Loading branch information
eamansour committed May 22, 2024
1 parent d49d007 commit eca9a78
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.io.IOException;
import java.net.URISyntaxException;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
Expand Down Expand Up @@ -63,7 +64,7 @@ public class CouchdbDirectoryService implements IResultArchiveStoreDirectoryServ
private final LogFactory logFactory;
private final HttpRequestFactory requestFactory;

private static final Charset UTF8 = Charset.forName("utf-8");
private static final Charset UTF8 = StandardCharsets.UTF_8;

private final CouchdbRasStore store;

Expand Down

0 comments on commit eca9a78

Please sign in to comment.