We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 170a8e7 commit f010532Copy full SHA for f010532
1 file changed
microsphere-java-core/src/test/java/io/microsphere/nio/charset/CharsetUtilsTest.java
@@ -6,6 +6,7 @@
6
7
import static io.microsphere.nio.charset.CharsetUtils.DEFAULT_CHARSET;
8
import static io.microsphere.util.ClassUtils.isAbstractClass;
9
+import static java.nio.charset.StandardCharsets.UTF_8;
10
import static org.junit.jupiter.api.Assertions.assertEquals;
11
import static org.junit.jupiter.api.Assertions.assertThrows;
12
import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -31,7 +32,7 @@ public void testClass() {
31
32
33
@Test
34
public void testConstants() {
- assertEquals(StandardCharsets.UTF_8, DEFAULT_CHARSET);
35
+ assertEquals(UTF_8, DEFAULT_CHARSET);
36
}
37
38
0 commit comments