未验证 提交 d36dc488 编写于 作者: 玄坛 提交者: GitHub

Merge pull request #459 from rhinoceros/master

LowerCamelCaseVariableNamingRule 和 StringConcatRule
......@@ -140,23 +140,7 @@ public interface BizConstants {
<expected-problems>0</expected-problems>
<code-ref id="LowerCamelCaseVariableNamingRuleTest8" />
</test-code>
<code-fragment id="LowerCamelCaseVariableNamingRuleTest8">
<![CDATA[
public @interface TYPE {
int DO_NO_THING = 0;
int DO_ONE_START_TO_END_ROUTE = 1;
int DO_ONE_CAR_TO_START_ROUTE = 2;
int DO_TWO_ROUTE = 3;
}
]]>
</code-fragment>
<test-code>
<description>Variable name should be lowerCamelCase8</description>
<expected-problems>0</expected-problems>
<code-ref id="LowerCamelCaseVariableNamingRuleTest8" />
</test-code>
<code-fragment id="LowerCamelCaseVariableNamingRuleTest9">
<![CDATA[
@Document
......
......@@ -104,7 +104,7 @@
<code-ref id="assign-variable-out-of-loop" />
</test-code>
======================================================================
<!-- ====================================================================== -->
<code-fragment id="assign-variable-in-loop">
<![CDATA[
import java.util.List;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册