Skip to content

Add AvoidStarImport in checkstyles. - #1147

Merged
tdas merged 8 commits into
unitycatalog:mainfrom
openinx:1142-avoid-star-import
Nov 6, 2025
Merged

tdas merged 8 commits into
unitycatalog:mainfrom
openinx:1142-avoid-star-import

Conversation

@openinx

@openinx openinx commented Oct 30, 2025 •

Copy link
Copy Markdown
Collaborator

PR Checklist

  • A description of the changes is added to the description of this PR.
  • If there is a related issue, make sure it is linked to this PR.
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added or modified a feature, documentation in docs is updated

Description of changes

#1142

@openinx

openinx commented Oct 30, 2025

Copy link
Copy Markdown
Collaborator Author

The codestyle fix are here:

[info] Successfully generated code to /Users/zheng.hu/repo/unitycatalog/target/control/java
[info] Checkstyle complete. 11 errors found. 
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/UnityCatalogCli.java, Line: 15, Message: Using the '.*' form of import should be avoided - org.apache.commons.cli.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/PermissionCli.java, Line: 3, Message: Using the '.*' form of import should be avoided - io.unitycatalog.cli.utils.CliUtils.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelWriteUtils.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.delta.kernel.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelWriteUtils.java, Line: 12, Message: Using the '.*' form of import should be avoided - io.delta.kernel.types.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelWriteUtils.java, Line: 22, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelUtils.java, Line: 6, Message: Using the '.*' form of import should be avoided - io.delta.kernel.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelUtils.java, Line: 10, Message: Using the '.*' form of import should be avoided - io.delta.kernel.types.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelUtils.java, Line: 15, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelReadUtils.java, Line: 13, Message: Using the '.*' form of import should be avoided - io.delta.kernel.types.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/utils/CliUtils.java, Line: 13, Message: Using the '.*' form of import should be avoided - io.unitycatalog.client.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/utils/CliUtils.java, Line: 16, Message: Using the '.*' form of import should be avoided - java.util.*.
################################################################################
# Thanks for using OpenAPI Generator.                                          #
# Please consider donation to help us maintain this project 🙏                 #
# https://opencollective.com/openapi_generator/donate                          #
################################################################################
[info] Successfully generated code to /Users/zheng.hu/repo/unitycatalog/clients/python/target
[info] Executing version update script: bash /Users/zheng.hu/repo/unitycatalog/clients/python/build/update-python-versions.sh
SBT version: 0.3.0-SNAPSHOT
Python version: 0.3.0.dev0
Updated version in /Users/zheng.hu/repo/unitycatalog/clients/python/build/pyproject.toml to 0.3.0.dev0
Updated version in /Users/zheng.hu/repo/unitycatalog/clients/python/build/setup.py to 0.3.0.dev0
[info] Version update script executed successfully
[info] Copied setup.py to /Users/zheng.hu/repo/unitycatalog/clients/python/target/setup.py.
[info] Copied README.md to /Users/zheng.hu/repo/unitycatalog/clients/python/target/README.md.
[info] Copied pyproject.toml to /Users/zheng.hu/repo/unitycatalog/clients/python/target/pyproject.toml.
[info] Ensured target directory exists at /Users/zheng.hu/repo/unitycatalog/clients/python/target/src
[info] Moved 'unitycatalog' from /Users/zheng.hu/repo/unitycatalog/clients/python/target/unitycatalog to /Users/zheng.hu/repo/unitycatalog/clients/python/target/src/unitycatalog
[info] OpenAPI Python client generation completed.
################################################################################
# Thanks for using OpenAPI Generator.                                          #
# Please consider donation to help us maintain this project 🙏                 #
# https://opencollective.com/openapi_generator/donate                          #
################################################################################
[info] Successfully generated code to /Users/zheng.hu/repo/unitycatalog/server/target/models
################################################################################
# Thanks for using OpenAPI Generator.                                          #
# Please consider donation to help us maintain this project 🙏                 #
# https://opencollective.com/openapi_generator/donate                          #
################################################################################
[info] Successfully generated code to /Users/zheng.hu/repo/unitycatalog/target/clients/java
[info] Checkstyle complete. 57 errors found. 
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/UnityCatalogServer.java, Line: 29, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.service.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/utils/OptionParser.java, Line: 6, Message: Using the '.*' form of import should be avoided - org.apache.commons.cli.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/TemporaryModelVersionCredentialsService.java, Line: 12, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/CredentialService.java, Line: 5, Message: Using the '.*' form of import should be avoided - com.linecorp.armeria.server.annotation.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/ModelService.java, Line: 5, Message: Using the '.*' form of import should be avoided - com.linecorp.armeria.server.annotation.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/ModelService.java, Line: 12, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/ModelService.java, Line: 13, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/VolumeService.java, Line: 23, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/FunctionService.java, Line: 20, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/Scim2UserService.java, Line: 9, Message: Using the '.*' form of import should be avoided - com.linecorp.armeria.server.annotation.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/AuthService.java, Line: 7, Message: Using the '.*' form of import should be avoided - com.linecorp.armeria.common.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/ExternalLocationService.java, Line: 7, Message: Using the '.*' form of import should be avoided - com.linecorp.armeria.server.annotation.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/SchemaService.java, Line: 20, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/TableService.java, Line: 20, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/PermissionService.java, Line: 21, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/ExternalLocationRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/ExternalLocationRepository.java, Line: 12, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/ModelRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/ModelRepository.java, Line: 16, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/VolumeRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/VolumeRepository.java, Line: 14, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/TableRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/TableRepository.java, Line: 17, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/FunctionRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/SchemaRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/SchemaRepository.java, Line: 15, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/CredentialRepository.java, Line: 7, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/CredentialRepository.java, Line: 14, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/CatalogRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/auth/decorator/KeyMapper.java, Line: 18, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/credential/CloudCredentialVendor.java, Line: 6, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/CatalogInfoDAO.java, Line: 4, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/CatalogInfoDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/ExternalLocationDAO.java, Line: 10, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/SchemaInfoDAO.java, Line: 4, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/SchemaInfoDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/RegisteredModelInfoDAO.java, Line: 4, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/RegisteredModelInfoDAO.java, Line: 7, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/UserDAO.java, Line: 9, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/CredentialDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/CredentialDAO.java, Line: 12, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/ModelVersionInfoDAO.java, Line: 5, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/ModelVersionInfoDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/ColumnInfoDAO.java, Line: 5, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/ColumnInfoDAO.java, Line: 10, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/TableInfoDAO.java, Line: 7, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/TableInfoDAO.java, Line: 11, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/PropertyDAO.java, Line: 3, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/PropertyDAO.java, Line: 9, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/FunctionParameterInfoDAO.java, Line: 3, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/FunctionParameterInfoDAO.java, Line: 4, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/FunctionParameterInfoDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/VolumeInfoDAO.java, Line: 11, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/FunctionInfoDAO.java, Line: 5, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/FunctionInfoDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/utils/PagedListingHelper.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.dao.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/utils/HibernateConfigurator.java, Line: 3, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.dao.*.
Generated classpath file '/Users/zheng.hu/repo/unitycatalog/target/classpath'
[info] compiling 75 Java sources to /Users/zheng.hu/repo/unitycatalog/server/target/models/target/classes ...
[info] compiling 98 Java sources to /Users/zheng.hu/repo/unitycatalog/target/clients/java/target/classes ...
[info] compiling 30 Java sources to /Users/zheng.hu/repo/unitycatalog/target/control/java/target/classes ...
[info] Annotation processing is enabled because one or more processors were found
[info]   on the class path. A future release of javac may disable annotation processing
[info]   unless at least one processor is specified by name (-processor), or a search
[info] Annotation processing is enabled because one or more processors were found
[info] Annotation processing is enabled because one or more processors were found
[info]   on the class path. A future release of javac may disable annotation processing
[info]   unless at least one processor is specified by name (-processor), or a search
[info]   path is specified (--processor-path, --processor-module-path), or annotation
[info]   processing is enabled explicitly (-proc:only, -proc:full).
[info]   Use -Xlint:-options to suppress this message.
[info]   Use -proc:none to disable annotation processing.
[info]   path is specified (--processor-path, --processor-module-path), or annotation
[info]   on the class path. A future release of javac may disable annotation processing
[info]   processing is enabled explicitly (-proc:only, -proc:full).
[info]   Use -Xlint:-options to suppress this message.
[info]   Use -proc:none to disable annotation processing.
[info]   unless at least one processor is specified by name (-processor), or a search
[info]   path is specified (--processor-path, --processor-module-path), or annotation
[info]   processing is enabled explicitly (-proc:only, -proc:full).
[info]   Use -Xlint:-options to suppress this message.
[info]   Use -proc:none to disable annotation processing.
Generated classpath file '/Users/zheng.hu/repo/unitycatalog/target/control/java/target/classpath'
Generated classpath file '/Users/zheng.hu/repo/unitycatalog/server/target/models/target/classpath'
Generated classpath file '/Users/zheng.hu/repo/unitycatalog/target/clients/java/target/classpath'
Generated classpath file '/Users/zheng.hu/repo/unitycatalog/clients/python/target/classpath'
[info] compiling 1 Scala source and 10 Java sources to /Users/zheng.hu/repo/unitycatalog/connectors/spark/target/scala-2.13/classes ...
[info] compiling 18 Java sources to /Users/zheng.hu/repo/unitycatalog/server/target/controlmodels/target/classes ...
[info] Annotation processing is enabled because one or more processors were found
[info]   on the class path. A future release of javac may disable annotation processing
[info]   unless at least one processor is specified by name (-processor), or a search
[info]   path is specified (--processor-path, --processor-module-path), or annotation
[info]   processing is enabled explicitly (-proc:only, -proc:full).
[info]   Use -Xlint:-options to suppress this message.
[info]   Use -proc:none to disable annotation processing.
Generated classpath file '/Users/zheng.hu/repo/unitycatalog/server/target/controlmodels/target/classpath'
[info] compiling 108 Java sources to /Users/zheng.hu/repo/unitycatalog/server/target/classes ...
[info] compiling 21 Java sources to /Users/zheng.hu/repo/unitycatalog/examples/cli/target/classes ...
[info] Annotation processing is enabled because one or more processors were found
[info]   on the class path. A future release of javac may disable annotation processing
[info]   unless at least one processor is specified by name (-processor), or a search
[info]   path is specified (--processor-path, --processor-module-path), or annotation
[info]   processing is enabled explicitly (-proc:only, -proc:full).
[info]   Use -Xlint:-options to suppress this message.
[info]   Use -proc:none to disable annotation processing.
[warn] 10 deprecations (since 2.13.0)
[warn] 1 deprecation (since 2.13.3)
[warn] 11 deprecations in total; re-run with -deprecation for details
[warn] three warnings found
[info] Annotation processing is enabled because one or more processors were found
[info]   on the class path. A future release of javac may disable annotation processing
[info]   unless at least one processor is specified by name (-processor), or a search
[info]   path is specified (--processor-path, --processor-module-path), or annotation
[info]   processing is enabled explicitly (-proc:only, -proc:full).
[info]   Use -Xlint:-options to suppress this message.
[info]   Use -proc:none to disable annotation processing.
Generated classpath file '/Users/zheng.hu/repo/unitycatalog/connectors/spark/target/scala-2.13/classpath'
[error] java.lang.RuntimeException: Found checkstyle errors
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/UnityCatalogCli.java, Line: 15, Message: Using the '.*' form of import should be avoided - org.apache.commons.cli.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/PermissionCli.java, Line: 3, Message: Using the '.*' form of import should be avoided - io.unitycatalog.cli.utils.CliUtils.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelWriteUtils.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.delta.kernel.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelWriteUtils.java, Line: 12, Message: Using the '.*' form of import should be avoided - io.delta.kernel.types.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelWriteUtils.java, Line: 22, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelUtils.java, Line: 6, Message: Using the '.*' form of import should be avoided - io.delta.kernel.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelUtils.java, Line: 10, Message: Using the '.*' form of import should be avoided - io.delta.kernel.types.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelUtils.java, Line: 15, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelReadUtils.java, Line: 13, Message: Using the '.*' form of import should be avoided - io.delta.kernel.types.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/utils/CliUtils.java, Line: 13, Message: Using the '.*' form of import should be avoided - io.unitycatalog.client.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/utils/CliUtils.java, Line: 16, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] 
[error] 	at scala.sys.package$.error(package.scala:30)
[error] 	at Checkstyle$.javaCheckstyle(Checkstyle.scala:76)
[error] 	at Checkstyle$.$anonfun$javaCheckstyleSettings$3(Checkstyle.scala:45)
[error] 	at Checkstyle$.$anonfun$javaCheckstyleSettings$3$adapted(Checkstyle.scala:43)
[error] 	at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] 	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[error] 	at sbt.std.Transform$$anon$4.work(Transform.scala:69)
[error] 	at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[error] 	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[error] 	at sbt.Execute.work(Execute.scala:292)
[error] 	at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[error] 	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] 	at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[error] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[error] 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
[error] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[error] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[error] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[error] 	at java.base/java.lang.Thread.run(Thread.java:1583)
[error] java.lang.RuntimeException: Found checkstyle errors
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/UnityCatalogServer.java, Line: 29, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.service.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/utils/OptionParser.java, Line: 6, Message: Using the '.*' form of import should be avoided - org.apache.commons.cli.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/TemporaryModelVersionCredentialsService.java, Line: 12, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/CredentialService.java, Line: 5, Message: Using the '.*' form of import should be avoided - com.linecorp.armeria.server.annotation.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/ModelService.java, Line: 5, Message: Using the '.*' form of import should be avoided - com.linecorp.armeria.server.annotation.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/ModelService.java, Line: 12, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/ModelService.java, Line: 13, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/VolumeService.java, Line: 23, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/FunctionService.java, Line: 20, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/Scim2UserService.java, Line: 9, Message: Using the '.*' form of import should be avoided - com.linecorp.armeria.server.annotation.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/AuthService.java, Line: 7, Message: Using the '.*' form of import should be avoided - com.linecorp.armeria.common.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/ExternalLocationService.java, Line: 7, Message: Using the '.*' form of import should be avoided - com.linecorp.armeria.server.annotation.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/SchemaService.java, Line: 20, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/TableService.java, Line: 20, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/PermissionService.java, Line: 21, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/ExternalLocationRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/ExternalLocationRepository.java, Line: 12, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/ModelRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/ModelRepository.java, Line: 16, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/VolumeRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/VolumeRepository.java, Line: 14, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/TableRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/TableRepository.java, Line: 17, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/FunctionRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/SchemaRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/SchemaRepository.java, Line: 15, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/CredentialRepository.java, Line: 7, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/CredentialRepository.java, Line: 14, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/CatalogRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/auth/decorator/KeyMapper.java, Line: 18, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/credential/CloudCredentialVendor.java, Line: 6, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/CatalogInfoDAO.java, Line: 4, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/CatalogInfoDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/ExternalLocationDAO.java, Line: 10, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/SchemaInfoDAO.java, Line: 4, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/SchemaInfoDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/RegisteredModelInfoDAO.java, Line: 4, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/RegisteredModelInfoDAO.java, Line: 7, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/UserDAO.java, Line: 9, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/CredentialDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/CredentialDAO.java, Line: 12, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/ModelVersionInfoDAO.java, Line: 5, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/ModelVersionInfoDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/ColumnInfoDAO.java, Line: 5, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/ColumnInfoDAO.java, Line: 10, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/TableInfoDAO.java, Line: 7, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/TableInfoDAO.java, Line: 11, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/PropertyDAO.java, Line: 3, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/PropertyDAO.java, Line: 9, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/FunctionParameterInfoDAO.java, Line: 3, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/FunctionParameterInfoDAO.java, Line: 4, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/FunctionParameterInfoDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/VolumeInfoDAO.java, Line: 11, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/FunctionInfoDAO.java, Line: 5, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/FunctionInfoDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/utils/PagedListingHelper.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.dao.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/utils/HibernateConfigurator.java, Line: 3, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.dao.*.
[error] 
[error] 	at scala.sys.package$.error(package.scala:30)
[error] 	at Checkstyle$.javaCheckstyle(Checkstyle.scala:76)
[error] 	at Checkstyle$.$anonfun$javaCheckstyleSettings$3(Checkstyle.scala:45)
[error] 	at Checkstyle$.$anonfun$javaCheckstyleSettings$3$adapted(Checkstyle.scala:43)
[error] 	at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] 	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[error] 	at sbt.std.Transform$$anon$4.work(Transform.scala:69)
[error] 	at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[error] 	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[error] 	at sbt.Execute.work(Execute.scala:292)
[error] 	at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[error] 	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] 	at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[error] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[error] 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
[error] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[error] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[error] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[error] 	at java.base/java.lang.Thread.run(Thread.java:1583)
[error] (cli / compileJavastyle) Found checkstyle errors
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/UnityCatalogCli.java, Line: 15, Message: Using the '.*' form of import should be avoided - org.apache.commons.cli.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/PermissionCli.java, Line: 3, Message: Using the '.*' form of import should be avoided - io.unitycatalog.cli.utils.CliUtils.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelWriteUtils.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.delta.kernel.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelWriteUtils.java, Line: 12, Message: Using the '.*' form of import should be avoided - io.delta.kernel.types.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelWriteUtils.java, Line: 22, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelUtils.java, Line: 6, Message: Using the '.*' form of import should be avoided - io.delta.kernel.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelUtils.java, Line: 10, Message: Using the '.*' form of import should be avoided - io.delta.kernel.types.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelUtils.java, Line: 15, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/delta/DeltaKernelReadUtils.java, Line: 13, Message: Using the '.*' form of import should be avoided - io.delta.kernel.types.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/utils/CliUtils.java, Line: 13, Message: Using the '.*' form of import should be avoided - io.unitycatalog.client.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/examples/cli/src/main/java/io/unitycatalog/cli/utils/CliUtils.java, Line: 16, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] (server / compileJavastyle) Found checkstyle errors
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/UnityCatalogServer.java, Line: 29, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.service.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/utils/OptionParser.java, Line: 6, Message: Using the '.*' form of import should be avoided - org.apache.commons.cli.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/TemporaryModelVersionCredentialsService.java, Line: 12, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/CredentialService.java, Line: 5, Message: Using the '.*' form of import should be avoided - com.linecorp.armeria.server.annotation.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/ModelService.java, Line: 5, Message: Using the '.*' form of import should be avoided - com.linecorp.armeria.server.annotation.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/ModelService.java, Line: 12, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/ModelService.java, Line: 13, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/VolumeService.java, Line: 23, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/FunctionService.java, Line: 20, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/Scim2UserService.java, Line: 9, Message: Using the '.*' form of import should be avoided - com.linecorp.armeria.server.annotation.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/AuthService.java, Line: 7, Message: Using the '.*' form of import should be avoided - com.linecorp.armeria.common.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/ExternalLocationService.java, Line: 7, Message: Using the '.*' form of import should be avoided - com.linecorp.armeria.server.annotation.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/SchemaService.java, Line: 20, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/TableService.java, Line: 20, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/PermissionService.java, Line: 21, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/ExternalLocationRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/ExternalLocationRepository.java, Line: 12, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/ModelRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/ModelRepository.java, Line: 16, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/VolumeRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/VolumeRepository.java, Line: 14, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/TableRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/TableRepository.java, Line: 17, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/FunctionRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/SchemaRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/SchemaRepository.java, Line: 15, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/CredentialRepository.java, Line: 7, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/CredentialRepository.java, Line: 14, Message: Using the '.*' form of import should be avoided - java.util.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/CatalogRepository.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/auth/decorator/KeyMapper.java, Line: 18, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/service/credential/CloudCredentialVendor.java, Line: 6, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/CatalogInfoDAO.java, Line: 4, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/CatalogInfoDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/ExternalLocationDAO.java, Line: 10, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/SchemaInfoDAO.java, Line: 4, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/SchemaInfoDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/RegisteredModelInfoDAO.java, Line: 4, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/RegisteredModelInfoDAO.java, Line: 7, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/UserDAO.java, Line: 9, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/CredentialDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/CredentialDAO.java, Line: 12, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/ModelVersionInfoDAO.java, Line: 5, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/ModelVersionInfoDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/ColumnInfoDAO.java, Line: 5, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/ColumnInfoDAO.java, Line: 10, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/TableInfoDAO.java, Line: 7, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/TableInfoDAO.java, Line: 11, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/PropertyDAO.java, Line: 3, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/PropertyDAO.java, Line: 9, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/FunctionParameterInfoDAO.java, Line: 3, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.model.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/FunctionParameterInfoDAO.java, Line: 4, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/FunctionParameterInfoDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/VolumeInfoDAO.java, Line: 11, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/FunctionInfoDAO.java, Line: 5, Message: Using the '.*' form of import should be avoided - jakarta.persistence.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/dao/FunctionInfoDAO.java, Line: 8, Message: Using the '.*' form of import should be avoided - lombok.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/utils/PagedListingHelper.java, Line: 5, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.dao.*.
[error] File: /Users/zheng.hu/repo/unitycatalog/server/src/main/java/io/unitycatalog/server/persist/utils/HibernateConfigurator.java, Line: 3, Message: Using the '.*' form of import should be avoided - io.unitycatalog.server.persist.dao.*.
[error] Total time: 6 s, completed Oct 30, 2025, 8:56:49 AM

}

/** **************** DAO retrieval methods ***************** */
/** *************** DAO retrieval methods ***************** */

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a javafmtAll change.

|| (parentId != null && authorizer.authorize(principalId, parentId, Privileges.OWNER))
|| (grandparentId != null
&& authorizer.authorize(principalId, grandparentId, Privileges.OWNER));
&& authorizer.authorize(principalId, grandparentId, Privileges.OWNER));

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build/sbt javafmtAll will format it automatically seems.

@tdas tdas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. thank you!

@tdas

tdas commented Oct 31, 2025

Copy link
Copy Markdown
Contributor

tests are failing

@openinx
openinx force-pushed the 1142-avoid-star-import branch from 8cc1b63 to 60f551f Compare November 5, 2025 22:44
@openinx openinx closed this Nov 5, 2025
@openinx openinx reopened this Nov 5, 2025
@openinx openinx closed this Nov 5, 2025
@openinx openinx reopened this Nov 5, 2025
@openinx
openinx force-pushed the 1142-avoid-star-import branch from 2d3a4cb to 2ef83d2 Compare November 6, 2025 01:19
@tdas
tdas merged commit ea4624b into unitycatalog:main Nov 6, 2025
@tdas

tdas commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

Created backport PR for branch-0.3:

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin backport-1147-to-branch-0.3
git worktree add --checkout .worktree/backport-1147-to-branch-0.3 backport-1147-to-branch-0.3
cd .worktree/backport-1147-to-branch-0.3
git reset --hard HEAD^
git cherry-pick -x ea4624b9ebc53390b10f4ad46ce0a52cabd6a96c
git push --force-with-lease

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants