This is an automated email from the ASF dual-hosted git repository.
mmuzaf pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-website.git
The following commit(s) were added to refs/heads/trunk by this push:
new a6062960a Update import statements to follow consistent ordering rules
a6062960a is described below
commit a6062960aa24963a2c3ab8177da947f187aba6fe
Author: Maxim Muzafarov <[email protected]>
AuthorDate: Thu Jan 15 13:50:18 2026 +0100
Update import statements to follow consistent ordering rules
Import statements habe been updated in cassandra-website repository to
align with the import ordering standards established by CASSANDRA-17925. This
ensures consistent code style across the project and improves maintainability.
---
.../modules/ROOT/pages/development/code_style.adoc | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/site-content/source/modules/ROOT/pages/development/code_style.adoc
b/site-content/source/modules/ROOT/pages/development/code_style.adoc
index 92fee2f12..8c11d6f31 100644
--- a/site-content/source/modules/ROOT/pages/development/code_style.adoc
+++ b/site-content/source/modules/ROOT/pages/development/code_style.adoc
@@ -157,14 +157,23 @@ Observe the following order for your imports:
[source,java]
----
-java
+java.*
[blank line]
-com.google.common
-org.apache.commons
-org.junit
-org.slf4j
+javax.*
[blank line]
-everything else alphabetically
+com.*
+[blank line]
+net.*
+[blank line]
+org.*
+[blank line]
+accord.*
+[blank line]
+org.apache.cassandra.*
+[blank line]
+all other imports
+[blank line]
+static all other imports
----
==== Logging
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]