From 2f083f7dad892da8997486d332e0d72fd55d1144 Mon Sep 17 00:00:00 2001 From: Ned Holbrook Date: Tue, 17 Sep 2024 13:49:11 -0700 Subject: [PATCH] Stop manually setting versions in AacOrder.java (#935) --- docs/emoji/aac.md | 9 --------- .../src/main/java/org/unicode/tools/AacOrder.java | 4 ++-- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/docs/emoji/aac.md b/docs/emoji/aac.md index e6ed614ba..a469d0d99 100644 --- a/docs/emoji/aac.md +++ b/docs/emoji/aac.md @@ -5,15 +5,6 @@ Once the emoji are finalized for new version of TR51, or there is a new version of CLDR, run AacOrder.java to generate 3 new files which will be checked in. -Fix the versions at the top of the file, such as: -``` -private static final VersionInfo VERSION = Emoji.VERSION12; - -private static final VersionInfo UCD_VERSION = Emoji.VERSION12; -``` - -The emoji version will be ≥ the UCD version. - **Results:** :construction: **TODO**: Work with Mark on working replacements for "draft" URLs. diff --git a/unicodetools/src/main/java/org/unicode/tools/AacOrder.java b/unicodetools/src/main/java/org/unicode/tools/AacOrder.java index 25b6013c2..f3e5080db 100644 --- a/unicodetools/src/main/java/org/unicode/tools/AacOrder.java +++ b/unicodetools/src/main/java/org/unicode/tools/AacOrder.java @@ -30,8 +30,8 @@ public class AacOrder { - private static final VersionInfo VERSION = Emoji.VERSION15_1; - private static final VersionInfo UCD_VERSION = Emoji.VERSION15_1; + private static final VersionInfo VERSION = Emoji.VERSION_TO_GENERATE; + private static final VersionInfo UCD_VERSION = Emoji.VERSION_TO_GENERATE_UNICODE; private static final CandidateData CANDIDATE_DATA = CandidateData.getInstance();