Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLDR-17544 Add tool for assessing issue #3782

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 @@ -303,7 +303,7 @@ public static void main(String[] args) {
Set<PathHeader> sorted = new TreeSet<>();
final Iterable<String> pathSource =
rootUncovered ? (Iterable<String>) ROOT : file.fullIterable();
RelatedPaths relatedPathsWithNonNullValues = new RelatedPaths();
RelatedSkeletonPaths relatedPathsWithNonNullValues = new RelatedSkeletonPaths();

for (String path : pathSource) {
if (path.contains("yMd") && path.contains("chinese")) {
Expand Down Expand Up @@ -516,7 +516,7 @@ public static void main(String[] args) {
* Related with related values that are not null. NOTE: For now this is quite specific to
* availableFormats
*/
static class RelatedPaths {
static class RelatedSkeletonPaths {
TreeMultimap<String, String> skeletaToRelatedPathWithValue = TreeMultimap.create();
static final FormatParser parser = new DateTimePatternGenerator.FormatParser();

Expand Down Expand Up @@ -548,7 +548,7 @@ public String show(CLDRFile file, String key) {
return Joiner.on(", ").join(sorted);
}

private String simplePattern(String id) {
static String simplePattern(String id) {
TreeSet<String> chars = new TreeSet<>();
for (Object item : parser.set(id).getItems()) {
if (item instanceof DateTimePatternGenerator.VariableField) {
Expand Down
Loading
Loading