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 68199f1 commit ef72cbdCopy full SHA for ef72cbd
src/test/java/org/apache/commons/codec/CharsetsTest.java
@@ -25,7 +25,6 @@
25
import java.util.SortedSet;
26
import java.util.TreeSet;
27
28
-import org.apache.commons.io.Charsets;
29
import org.junit.jupiter.api.Test;
30
31
/**
@@ -40,7 +39,12 @@ public static SortedSet<String> getAvailableCharsetNames() {
40
39
}
41
42
public static Collection<Charset> getRequiredCharsets() {
43
- return Charsets.requiredCharsets().values();
+ return org.apache.commons.io.Charsets.requiredCharsets().values();
+ }
44
+
45
+ @Test
46
+ void testDeprecatedConstructor() {
47
+ new Charsets();
48
49
50
@SuppressWarnings("deprecation")
0 commit comments