mirror of
https://github.com/apache/commons-math.git
synced 2025-03-04 07:29:06 +00:00
Added checkstyle filter for declaration orders in FastMath.
FastMath uses very large tables which are located at end of class for better readability. this is not a standard layout, but is well suited for this case, hence we explicitly suppress checkstyle warning for these tables. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1179948 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0251da64fd
commit
d079f625be
@ -183,6 +183,11 @@
|
|||||||
<property name="onCommentFormat" value="CHECKSTYLE\: resume IllegalCatch"/>
|
<property name="onCommentFormat" value="CHECKSTYLE\: resume IllegalCatch"/>
|
||||||
<property name="checkFormat" value="IllegalCatch"/>
|
<property name="checkFormat" value="IllegalCatch"/>
|
||||||
</module>
|
</module>
|
||||||
|
<module name="SuppressionCommentFilter">
|
||||||
|
<property name="offCommentFormat" value="CHECKSTYLE\: stop DeclarationOrder"/>
|
||||||
|
<property name="onCommentFormat" value="CHECKSTYLE\: resume DeclarationOrder"/>
|
||||||
|
<property name="checkFormat" value="DeclarationOrder"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
|
@ -3656,7 +3656,7 @@ public class FastMath {
|
|||||||
|
|
||||||
// ===================================== large static tables ====================================
|
// ===================================== large static tables ====================================
|
||||||
|
|
||||||
|
//CHECKSTYLE: stop DeclarationOrder
|
||||||
/** Index of exp(0) in the array of integer exponentials. */
|
/** Index of exp(0) in the array of integer exponentials. */
|
||||||
static final int EXP_INT_TABLE_MAX_INDEX = 750;
|
static final int EXP_INT_TABLE_MAX_INDEX = 750;
|
||||||
|
|
||||||
@ -9851,4 +9851,6 @@ public class FastMath {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//CHECKSTYLE: resume DeclarationOrder
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user