代码拉取完成,页面将自动刷新
同步操作将从 ShardingSphere/Apache ShardingSphere 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
The following code of conduct is based on full compliance with ASF CODE OF CONDUCT.
./mvnw clean install
can be compiled and tested successfully.https://github.com/apache/shardingsphere/blob/master/src/resources/checkstyle.xml
, please use checkstyle 8.8
to run the rules.pull request
; Small and frequent pull request
with complete unit function is welcomed.Contributor Covenant Code of Conduct
below.result
; Variables in the loop structure are named with each
; Replace each
with entry
in map.ex
; Exceptions when catch but do nothing are named with ignored
.=
and equals
conditional expressions; Have variable on the left and constants on the right in greater than
and less than
conditional expressions.this
modifier.final
class expect abstract class for extend.null
parameters or return values.LinkedList
in priority. Use ArrayList
for use index to get element only.Collection
such as ArrayList
, HashMap
must indicate initial capacity to avoid recalculate capacity.public
classes and methods need javadoc, other methods, classes and override methods do not need javadoc.System.out
, log
are prohibited, use assert to check test results.Assert
, hamcrest CoreMatchers
and Mockito
can use static import.assertTrue
, assertFalse
, assertNull
and assertNotNull
should be used.assertThat
should be used.not
, containsString
to make assertions.actualXXX
, expected values expectedXXX
.@Test
annotation do not need javadoc.200
chars, guarantee every line have complete semantics.underline
to separate. Rule name of DataType
and Symbol
should end with underline
. If rule name is conflicted with ANTLR's keyword, should take an underline
behind rule name.fragment
, rule with fragment
should define behind of public rule which they served.Keyword.g4
, every database may has customized rule file by themselves. For example: MySQLKeyword.g4
.colon
and rule, semicolon
should take a new line and keep indents (including blank lines) consistent with the previous one.5
, every branch take a new line.database
+ SQL type
+ Statement
. For example: MySQLDQLStatement.g4
.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。