You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2021/01/14 15:29:16 UTC
[shardingsphere] branch master updated: Update code-conduct (#9036)
This is an automated email from the ASF dual-hosted git repository.
duanzhengqiang 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 1dae90a Update code-conduct (#9036)
1dae90a is described below
commit 1dae90ab94f8b35847b39d69e5dcf0e5fdbb2990
Author: Liang Zhang <te...@163.com>
AuthorDate: Thu Jan 14 23:28:51 2021 +0800
Update code-conduct (#9036)
---
docs/community/content/contribute/code-conduct.en.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/community/content/contribute/code-conduct.en.md b/docs/community/content/contribute/code-conduct.en.md
index e091957..34a5f5b 100644
--- a/docs/community/content/contribute/code-conduct.en.md
+++ b/docs/community/content/contribute/code-conduct.en.md
@@ -40,7 +40,7 @@ The following code of conduct is based on full compliance with [ASF CODE OF COND
- Order of members definition and parameters should be consistent during classes and methods.
- Use guard clauses in priority.
- Minimize the access permission for classes and methods.
- - Private method should be just next to the method in which it is used; writing private methods should be in the same as the appearance order of private methods.
+ - Private method should be just next to the method in which it is used; Multiple private methods should be in the same as the appearance order of original methods.
- No `null` parameters or return values.
- Replace if else return and assign statement with ternary operator in priority.
- Replace constructors, getters, setter methods and log variable with lombok in priority.