File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
unicodetools/org/unicode/tools Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public UnicodeMap<EnumMap<Style, String>> getChar2data() {
6666 return char2data ;
6767 }
6868
69- final private EnumMap <Style , UnicodeMap <String >> style2RawMapToRepresentative ;
69+ final private Map <Style , UnicodeMap <String >> style2RawMapToRepresentative ;
7070 final private UnicodeSet hasConfusable = new UnicodeSet ();
7171 final private UnicodeMap <EnumMap <Style ,String >> char2data = new UnicodeMap <EnumMap <Style ,String >>();
7272
@@ -287,7 +287,9 @@ public CodepointToConfusables freeze() {
287287
288288 @ Override
289289 public CodepointToConfusables cloneAsThawed () {
290- throw new UnsupportedOperationException ();
290+ CodepointToConfusables result = new CodepointToConfusables ();
291+ result .data .putAll (data );
292+ return result ;
291293 }
292294
293295 public UnicodeSet get (int cp ) {
You can’t perform that action at this time.
0 commit comments