The GitHub Actions job "GraphAr Java Info CI" on incubator-graphar.git/feat/java-info-unit-tests has failed. Run started by GitHub user Thespica (triggered by Thespica).
Head commit for run: cd99d615db89447068b787744bed7664e9a6c084 / google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> fix: Resolve compilation and formatting issues in java-info This commit addresses several issues in the java-info module: 1. **Compilation Errors in InfoTest.java**: * Added missing imports for `DataType`, `FileType`, and `AdjListType` from the `org.apache.graphar.proto` package. * Corrected method calls: * `PropertyGroup.getProperties()` to `PropertyGroup.getPropertyList()`. * `Property.isIs_primary()` to `Property.isPrimary()`. * `PropertyGroup.getFile_type()` to `PropertyGroup.getFileType()`. * `AdjacentList.getFile_type()` to `AdjacentList.getFileType()`. These changes resolve the numerous "cannot find symbol" errors that were causing the build to fail. 2. **Spotless Formatting**: * Applied `mvn spotless:apply` to ensure all Java files in the `maven-projects/info` module conform to the project's coding style. * This included minor cleanups in `InfoTest.java` (like removing comments on import lines) to ensure Spotless compatibility with the configured `google-java-format` version 1.7. With these changes, the `java-info` module should now compile successfully and pass all unit tests and formatting checks. Report URL: https://github.com/apache/incubator-graphar/actions/runs/15215318814 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@graphar.apache.org For additional commands, e-mail: commits-h...@graphar.apache.org