Skip to content

Commit

Permalink
Merge pull request #459 from rhinoceros/master
Browse files Browse the repository at this point in the history
LowerCamelCaseVariableNamingRule 和 StringConcatRule
  • Loading branch information
xuantan authored Mar 19, 2019
2 parents 7de6b48 + 3c199f2 commit d36dc48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d36dc48

Please sign in to comment.