This is an automated email from the ASF dual-hosted git repository.

veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ws-axiom.git


The following commit(s) were added to refs/heads/master by this push:
     new 0dfc28fb9 Use StandardCharsets
0dfc28fb9 is described below

commit 0dfc28fb99e25c89f612e37f315f933ee79d3089
Author: Andreas Veithen <andreas.veit...@gmail.com>
AuthorDate: Sun Dec 17 10:33:04 2023 +0000

    Use StandardCharsets
---
 .../src/test/java/org/apache/axiom/util/xml/NSUtilsTest.java         | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/components/xml-utils/src/test/java/org/apache/axiom/util/xml/NSUtilsTest.java 
b/components/xml-utils/src/test/java/org/apache/axiom/util/xml/NSUtilsTest.java
index f126f22ed..4dbe342ef 100644
--- 
a/components/xml-utils/src/test/java/org/apache/axiom/util/xml/NSUtilsTest.java
+++ 
b/components/xml-utils/src/test/java/org/apache/axiom/util/xml/NSUtilsTest.java
@@ -22,13 +22,12 @@ import static com.google.common.truth.Truth.assertThat;
 
 import java.io.BufferedReader;
 import java.io.InputStreamReader;
+import java.nio.charset.StandardCharsets;
 import java.util.HashSet;
 import java.util.Set;
 
 import org.junit.Test;
 
-import com.google.common.base.Charsets;
-
 public class NSUtilsTest {
     /**
      * Test that the generated prefixes are unique for a sample of namespace 
URIs collected from the
@@ -43,7 +42,7 @@ public class NSUtilsTest {
                 new BufferedReader(
                         new InputStreamReader(
                                 
NSUtilsTest.class.getResourceAsStream("namespaces.txt"),
-                                Charsets.UTF_8));
+                                StandardCharsets.UTF_8));
         try {
             String uri;
             while ((uri = in.readLine()) != null) {

Reply via email to