Skip to content

Commit

Permalink
spots
Browse files Browse the repository at this point in the history
  • Loading branch information
eggrobin committed Jan 3, 2024
1 parent 182cc3a commit 53459b0
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -967,9 +967,7 @@ public static void writeNormalizerTestSuite(String directory, String fileName)
composablesByFirstCodePoint
.computeIfAbsent(first, key -> new TreeSet<>())
.add(c);
composablesByLastCodePoint
.computeIfAbsent(last, key -> new TreeSet<>())
.add(c);
composablesByLastCodePoint.computeIfAbsent(last, key -> new TreeSet<>()).add(c);
}
}
}
Expand Down Expand Up @@ -1057,11 +1055,13 @@ public static void writeNormalizerTestSuite(String directory, String fileName)
length,
s -> {
if (!s.equals(decomposition)
&& Default.nfd()
.normalize(s)
.equals(decomposition)
&& s.codePoints().anyMatch(cp -> Default.nfd()
.normalize(cp).contains(link))) {
&& Default.nfd().normalize(s).equals(decomposition)
&& s.codePoints()
.anyMatch(
cp ->
Default.nfd()
.normalize(cp)
.contains(link))) {
for (int j = 0; j < s.length(); ++j) {
if (Default.nfd()
.normalize(s.substring(0, j))
Expand Down

0 comments on commit 53459b0

Please sign in to comment.