Robin pointed out in #1391 where I was deleting the unused PropNormalizationData that in some ways it looked more modern than the remaining NormalizationDataIUP because it was using constructs with UnicodeProperty like
|
UnicodeProperty canonicalProp = properties.getProperty("ccc"); |
rather than ones with UnicodeMap like
|
ccc = factory.loadInt(UcdProperty.Canonical_Combining_Class); |
We should discuss which one is preferred.
Discussion 2026may12: Prefer APIs with UnicodeProperty. See comment below.
Note also that one uses a property name string and the other one uses a UcdProperty enum value.
@eggrobin @macchiati
Robin pointed out in #1391 where I was deleting the unused PropNormalizationData that in some ways it looked more modern than the remaining NormalizationDataIUP because it was using constructs with UnicodeProperty like
unicodetools/unicodetools/src/main/java/org/unicode/props/PropNormalizationData.java
Line 25 in 06feb7f
rather than ones with UnicodeMap like
unicodetools/unicodetools/src/main/java/org/unicode/props/NormalizationDataIUP.java
Line 45 in 06feb7f
We should discuss which one is preferred.
Discussion 2026may12: Prefer APIs with UnicodeProperty. See comment below.
Note also that one uses a property name string and the other one uses a UcdProperty enum value.
@eggrobin @macchiati