Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
b1db445
Interim checkin
jowilco Jan 14, 2026
eb85cf1
Some standardization work
jowilco Jan 26, 2026
8bdf950
Merge branch 'main' into Regex_cleanup
jowilco Feb 4, 2026
65818cb
Reverted previous change
jowilco Feb 4, 2026
e0bac87
More changes after discussion with Robin
jowilco Feb 4, 2026
e3b1543
Added a new test for IndexPropertyRegex
jowilco Feb 5, 2026
a022b47
Merge branch 'main' into Regex_cleanup
jowilco Feb 5, 2026
fa9997b
Revert Ned's change, just as a test
jowilco Feb 5, 2026
5a15449
Revert the revert
jowilco Feb 5, 2026
f5e4534
I do need to handle UCDNonProperty and NonUCDNonProperty, so putting …
jowilco Feb 5, 2026
8009961
Flailing, trying to figure out regexes
jowilco Feb 5, 2026
ae58557
Going back to excluding UCDNonProperty and NonUCDNonProperty if they …
jowilco Feb 5, 2026
639958c
Well that didn't work
jowilco Feb 5, 2026
ac617de
It looks like tests are picked up automatically, so I don't need to a…
jowilco Feb 5, 2026
ceec7e5
Try clearing old errors before starting fresh
jowilco Feb 6, 2026
066e64b
Run GenerateEnums
jowilco Feb 6, 2026
f5ec085
Ran spotless
jowilco Feb 6, 2026
7ab1cf4
Manage the data loading errors by Unicode version
jowilco Feb 6, 2026
e09a20d
The assert is within the braces, so no need for the declaration to be…
jowilco Feb 6, 2026
5091368
I wasn't happy with how much I had departed from the previous use of …
jowilco Feb 10, 2026
0e1a22a
Fixes from review
jowilco Feb 12, 2026
6f0dbd3
Moved a Tangut property under UAX60
jowilco Feb 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ public class IndexUnicodeProperties extends UnicodeProperty.Factory {
static final boolean SHOW_LOADED = false;

public static final String FIELD_SEPARATOR = "; ";
private static final Relation<UcdProperty, String> DATA_LOADING_ERRORS =
Relation.of(
new EnumMap<UcdProperty, Set<String>>(UcdProperty.class), LinkedHashSet.class);

private static final Map<VersionInfo, Relation<UcdProperty, String>> DATA_LOADING_ERRORS =
new ConcurrentHashMap<>();

public enum DefaultValueType {
LITERAL(null),
Expand Down Expand Up @@ -667,7 +667,16 @@ public List<UcdProperty> getAvailableUcdProperties() {
return Arrays.asList(UcdProperty.values());
}

public static Relation<UcdProperty, String> getDataLoadingErrors() {
public static Relation<UcdProperty, String> getDataLoadingErrors(VersionInfo version) {
return DATA_LOADING_ERRORS.computeIfAbsent(
version,
v ->
Relation.of(
new EnumMap<UcdProperty, Set<String>>(UcdProperty.class),
LinkedHashSet.class));
}

public static Map<VersionInfo, Relation<UcdProperty, String>> getDataLoadingErrors() {
return DATA_LOADING_ERRORS;
}

Expand Down
Loading
Loading