private static Collection checkInfectedModules()

in tools/ci/paimon-ci-tools/src/main/java/org/apache/paimon/tools/ci/suffixcheck/ScalaSuffixChecker.java [187:194]


    private static Collection<String> checkInfectedModules(
            Collection<String> modules, Path paimonRootPath) throws IOException {
        return checkModules(
                modules,
                paimonRootPath,
                "",
                "Scala-dependent module '%s' is referenced without scala suffix in '%s'.");
    }