@@ -39,7 +39,7 @@ public static synchronized XPropertyFactory make() {
39
39
singleton = new XPropertyFactory ();
40
40
return singleton ;
41
41
}
42
-
42
+
43
43
public final Factory add2 (UnicodeProperty sp ) {
44
44
UnicodeProperty already = getProperty (sp .getName ());
45
45
if (already == null ) {
@@ -49,8 +49,8 @@ public final Factory add2(UnicodeProperty sp) {
49
49
return this ;
50
50
}
51
51
}
52
-
53
- {
52
+
53
+ {
54
54
ICUPropertyFactory base = ICUPropertyFactory .make ();
55
55
for (String propertyAlias : (List <String >)base .getInternalAvailablePropertyAliases (new ArrayList ())) {
56
56
add (base .getProperty (propertyAlias ));
@@ -150,17 +150,17 @@ public String transform(Integer source) {
150
150
.setMain ("Script_Extensions" , "scx" , UnicodeProperty .ENUMERATED , "1.1" )
151
151
.addValueAliases (ScriptTester .getScriptSpecialsAlternates (), false )
152
152
);
153
-
153
+
154
154
CachedProps cp = CachedProps .CACHED_PROPS ;
155
155
for (String prop : cp .getAvailable ()) {
156
156
add2 (cp .getProperty (prop ));
157
157
}
158
- UnicodeSet Basic_Emoji = cp .getProperty ("Basic_Emoji" ).getTrueSet ();
159
- UnicodeSet Emoji_Keycap_Sequence = cp .getProperty ("RGI_Emoji_Keycap_Sequence" ).getTrueSet ();
160
- UnicodeSet RGI_Emoji_Modifier_Sequence = cp .getProperty ("RGI_Emoji_Modifier_Sequence" ).getTrueSet ();
161
- UnicodeSet RGI_Emoji_Tag_Sequence = cp .getProperty ("RGI_Emoji_Tag_Sequence" ).getTrueSet ();
162
- UnicodeSet RGI_Emoji_Flag_Sequence = cp .getProperty ("RGI_Emoji_Flag_Sequence" ).getTrueSet ();
163
- UnicodeSet RGI_Emoji_Zwj_Sequence = cp .getProperty ("RGI_Emoji_Zwj_Sequence" ).getTrueSet ();
158
+ UnicodeSet Basic_Emoji = cp .getProperty ("Basic_Emoji" ).getSet ( "Yes" , null ); // TODO: was . getTrueSet();
159
+ UnicodeSet Emoji_Keycap_Sequence = cp .getProperty ("RGI_Emoji_Keycap_Sequence" ).getSet ( "Yes" , null ); // TODO: was . getTrueSet();
160
+ UnicodeSet RGI_Emoji_Modifier_Sequence = cp .getProperty ("RGI_Emoji_Modifier_Sequence" ).getSet ( "Yes" , null ); // TODO: was . getTrueSet();
161
+ UnicodeSet RGI_Emoji_Tag_Sequence = cp .getProperty ("RGI_Emoji_Tag_Sequence" ).getSet ( "Yes" , null ); // TODO: was . getTrueSet();
162
+ UnicodeSet RGI_Emoji_Flag_Sequence = cp .getProperty ("RGI_Emoji_Flag_Sequence" ).getSet ( "Yes" , null ); // TODO: was . getTrueSet();
163
+ UnicodeSet RGI_Emoji_Zwj_Sequence = cp .getProperty ("RGI_Emoji_Zwj_Sequence" ).getSet ( "Yes" , null ); // TODO: was . getTrueSet();
164
164
UnicodeSet RGI_Emoji = new UnicodeSet ()
165
165
.add (Basic_Emoji )
166
166
.add (Emoji_Keycap_Sequence )
@@ -264,7 +264,7 @@ private void addBytes(StringBuilder builder, int bytes) {
264
264
builder .append (' ' );
265
265
}
266
266
first = false ;
267
- builder .append (hex );
267
+ builder .append (hex );
268
268
}
269
269
}
270
270
0 commit comments