xiedeyantu commented on code in PR #4813:
URL: https://github.com/apache/calcite/pull/4813#discussion_r2868417492
##########
core/src/test/java/org/apache/calcite/test/LintTest.java:
##########
@@ -497,23 +548,6 @@ private static void checkMessage(String subject, String
body,
}
}
- /** Ensures that the {@code contributors.yml} file is sorted by name. */
- @Test void testContributorsFileIsSorted() throws IOException {
- final ObjectMapper mapper = new YAMLMapper();
- final File contributorsFile =
ROOT_PATH.resolve("site/_data/contributors.yml").toFile();
- JavaType listType =
- mapper.getTypeFactory()
- .constructCollectionType(List.class, Contributor.class);
- List<Contributor> contributors =
- mapper.readValue(contributorsFile, listType);
- Contributor contributor =
- firstOutOfOrder(contributors,
- Comparator.comparing(c -> c.name, String.CASE_INSENSITIVE_ORDER));
- if (contributor != null) {
- fail("contributor '" + contributor.name + "' is out of order");
- }
- }
-
/** Ensures that the {@code .mailmap} file is sorted. */
@Test void testMailmapFile() {
Review Comment:
Could this case have been forgotten to be deleted?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]