[
https://issues.apache.org/jira/browse/KAFKA-10787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-10787.
------------------------------------
Resolution: Fixed
> Introduce an import order in Java sources
> -----------------------------------------
>
> Key: KAFKA-10787
> URL: https://issues.apache.org/jira/browse/KAFKA-10787
> Project: Kafka
> Issue Type: Improvement
> Affects Versions: 2.8.0
> Reporter: Dongjin Lee
> Assignee: xuanzhang gong
> Priority: Major
> Fix For: 3.9.0
>
>
> As of present, Kafka uses a relatively strict code style for Java code,
> except import order. For this reason, the code formatting settings of every
> local dev environment are different from person to person, resulting in
> countless meaningless import order changes in the PR.
> This issue aims to define and apply a 3-group import order, like the
> following:
> 1. Project packages: {{kafka.*}}, {{org.apache.kafka.*}}
> 2. Third Party packages: {{com.*}}, {{net.*}}, {{org.*}}
> 3. Java packages: {{java.*}}, {{javax.*}}
> Discussion Thread:
> https://lists.apache.org/thread.html/rf6f49c845a3d48efe8a91916c8fbaddb76da17742eef06798fc5b24d%40%3Cdev.kafka.apache.org%3E
--
This message was sent by Atlassian Jira
(v8.20.10#820010)