Skip to content

Commit

Permalink
CLDR-17948 kbd: spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 committed Sep 13, 2024
1 parent 780b53d commit 81ea176
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ public boolean isAsOldOrOlderThan(CldrVersion other) {
return compareTo(other) <= 0;
}


private CldrVersion() {
String oldName = name();
if (oldName.charAt(0) == 'v') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ private static Map<DtdType, ElementAttributeInfo> makeElementAttributeInfoMap(
addElementAttributeInfo(
result,
DtdType.keyboard3,
canonicalCommonDirectory + "/../tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/und-t-k0-none.xml");
canonicalCommonDirectory
+ "/../tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/und-t-k0-none.xml");
addElementAttributeInfo(
result,
DtdType.keyboardTest3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,8 @@ public void TestBasicDTDCompatibility() {
continue; // DTD didn't exist in last release
}
if (dtd == DtdType.ldmlICU) continue;
if (dtd == DtdType.keyboard3 && CldrVersion.LAST_RELEASE_VERSION.isAsOldOrOlderThan(CldrVersion.v45_0)) {
if (dtd == DtdType.keyboard3
&& CldrVersion.LAST_RELEASE_VERSION.isAsOldOrOlderThan(CldrVersion.v45_0)) {
// Sample file did not have a DTD in v45, moved to a new location in v46+
continue;
}
Expand Down

0 comments on commit 81ea176

Please sign in to comment.