git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgraded to jmock 2.4.0 from 1.1.0
[utils]
/
trunk
/
build
/
style.xml
diff --git
a/trunk/build/style.xml
b/trunk/build/style.xml
index ecbd3acf2cae1b5c51767782c08971e6c914e4cd..58b854ea9ed749c0cb82ba79b381c2802e0d8616 100644
(file)
--- a/
trunk/build/style.xml
+++ b/
trunk/build/style.xml
@@
-133,7
+133,9
@@
\r
<!-- Checks for blocks. You know, those {}'s -->
\r
<!-- See http://checkstyle.sf.net/config_blocks.html -->
\r
\r
<!-- Checks for blocks. You know, those {}'s -->
\r
<!-- See http://checkstyle.sf.net/config_blocks.html -->
\r
- <module name="AvoidNestedBlocks"/>
\r
+ <module name="AvoidNestedBlocks">
+ <property name="allowInSwitchCase" value="true"/>
+ </module>
\r
<module name="EmptyBlock"/>
\r
<module name="LeftCurly"/>
\r
<module name="NeedBraces"/>
\r
<module name="EmptyBlock"/>
\r
<module name="LeftCurly"/>
\r
<module name="NeedBraces"/>
\r
@@
-149,12
+151,14
@@
<module name="HiddenField"/>
\r
<module name="IllegalInstantiation"/>
\r
<module name="InnerAssignment"/>
\r
<module name="HiddenField"/>
\r
<module name="IllegalInstantiation"/>
\r
<module name="InnerAssignment"/>
\r
- <module name="MagicNumber"/>
\r
+ <module name="MagicNumber">
+ <property name="ignoreNumbers" value="-1,0,1,2,3,4"/>
+ </module>
\r
<module name="MissingSwitchDefault"/>
\r
<module name="RedundantThrows"/>
\r
<module name="SimplifyBooleanExpression"/>
\r
<module name="SimplifyBooleanReturn"/>
\r
<module name="MissingSwitchDefault"/>
\r
<module name="RedundantThrows"/>
\r
<module name="SimplifyBooleanExpression"/>
\r
<module name="SimplifyBooleanReturn"/>
\r
- <
module name="ExplicitInitialization"/
>
\r
+ <
!-- module name="ExplicitInitialization"/ --
>
\r
\r
<!-- Checks for class design -->
\r
<!-- See http://checkstyle.sf.net/config_design.html -->
\r
\r
<!-- Checks for class design -->
\r
<!-- See http://checkstyle.sf.net/config_design.html -->
\r