This is an automated email from the ASF dual-hosted git repository.

terrymanu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new df4ec309760 Allow static import of Hamcrest endsWith (#39689)
df4ec309760 is described below

commit df4ec309760807bfb893387545349f5d2864fa53
Author: Liang Zhang <[email protected]>
AuthorDate: Wed Sep 2 14:25:30 2026 +0800

    Allow static import of Hamcrest endsWith (#39689)
---
 CODE_OF_CONDUCT.md                                 | 1 -
 docs/community/content/involved/conduct/code.cn.md | 1 -
 docs/community/content/involved/conduct/code.en.md | 1 -
 src/resources/checkstyle.xml                       | 2 +-
 4 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
index e3c76315fe5..bbb95f7405e 100644
--- a/CODE_OF_CONDUCT.md
+++ b/CODE_OF_CONDUCT.md
@@ -24,7 +24,6 @@ The following code of conduct is based on full compliance 
with the [Apache Softw
 
 ## Coding Standards
 
-- Use Linux line endings.
 - No line breaks are needed if each line of code does not exceed 200 
characters.
 - There should be no meaningless blank lines. Please extract private methods 
instead of using blank line spacing for overly long method bodies or logically 
closed code segments.
 - Naming conventions:
diff --git a/docs/community/content/involved/conduct/code.cn.md 
b/docs/community/content/involved/conduct/code.cn.md
index a192ce33008..efaeb1e8517 100644
--- a/docs/community/content/involved/conduct/code.cn.md
+++ b/docs/community/content/involved/conduct/code.cn.md
@@ -28,7 +28,6 @@ chapter = true
 
 ## 编码规范
 
- - 使用 linux 换行符。
  - 每行代码不超过 200 字符无需换行。
  - 不应有无意义的空行。请提炼私有方法,代替方法体过长或代码段逻辑闭环而采用的空行间隔。
  - 命名规范:
diff --git a/docs/community/content/involved/conduct/code.en.md 
b/docs/community/content/involved/conduct/code.en.md
index 4aa9b99b7eb..ec04cc37e0a 100644
--- a/docs/community/content/involved/conduct/code.en.md
+++ b/docs/community/content/involved/conduct/code.en.md
@@ -28,7 +28,6 @@ The following code of conduct is based on full compliance 
with the [Apache Softw
 
 ## Coding Standards
 
-- Use Linux line endings.
 - No line breaks are needed if each line of code does not exceed 200 
characters.
 - There should be no meaningless blank lines. Please extract private methods 
instead of using blank line spacing for overly long method bodies or logically 
closed code segments.
 - Naming conventions:
diff --git a/src/resources/checkstyle.xml b/src/resources/checkstyle.xml
index 85d7c0322bd..e1f61512134 100644
--- a/src/resources/checkstyle.xml
+++ b/src/resources/checkstyle.xml
@@ -168,7 +168,7 @@
         <!-- Imports -->
         <module name="AvoidStarImport" />
         <module name="AvoidStaticImport">
-            <property name="excludes" 
value="org.junit.jupiter.api.Assertions.assertTrue,org.junit.jupiter.api.Assertions.assertFalse,org.junit.jupiter.api.Assertions.assertNull,org.junit.jupiter.api.Assertions.assertNotNull,org.junit.jupiter.api.Assertions.assertThrows,org.junit.jupiter.api.Assertions.assertDoesNotThrow,org.junit.jupiter.api.Assertions.assertTimeout,org.junit.jupiter.api.Assertions.assertTimeoutPreemptively,org.junit.jupiter.api.Assertions.fail,org.hamcrest.Matchers.arr
 [...]
+            <property name="excludes" 
value="org.junit.jupiter.api.Assertions.assertTrue,org.junit.jupiter.api.Assertions.assertFalse,org.junit.jupiter.api.Assertions.assertNull,org.junit.jupiter.api.Assertions.assertNotNull,org.junit.jupiter.api.Assertions.assertThrows,org.junit.jupiter.api.Assertions.assertDoesNotThrow,org.junit.jupiter.api.Assertions.assertTimeout,org.junit.jupiter.api.Assertions.assertTimeoutPreemptively,org.junit.jupiter.api.Assertions.fail,org.hamcrest.Matchers.arr
 [...]
         </module>
         <module name="RegexpSinglelineJava">
             <property name="format" 
value="^(?!\s*import\s+static\s+).*\b(Mockito|ArgumentMatchers|Assertions|CoreMatchers|Matchers|MatcherAssert|ShardingSphereArgumentVerifyMatchers|ShardingSphereAssertionMatchers)\s*(\.|::)"
 />

Reply via email to