Add UseConcurrentHashMap exception to PMD and clean NOPMDs (#1243)

This commit is contained in:
Austin Shalit
2018-07-29 12:29:32 -04:00
committed by Peter Johnson
parent 139b1720b2
commit a11fcb605d
2 changed files with 3 additions and 2 deletions

View File

@@ -57,6 +57,7 @@
<exclude name="AvoidSynchronizedAtMethodLevel" />
<exclude name="AvoidUsingVolatile" />
<exclude name="DoNotUseThreads" />
<exclude name="UseConcurrentHashMap" />
</rule>
<rule ref="category/java/performance.xml">

View File

@@ -66,8 +66,8 @@ public class LinearDigitalFilter extends Filter {
* @param ffGains The "feed forward" or FIR gains
* @param fbGains The "feed back" or IIR gains
*/
public LinearDigitalFilter(PIDSource source, double[] ffGains, //NOPMD - PR1105 will fix this
double[] fbGains) { //NOPMD - PR1105 will fix this
public LinearDigitalFilter(PIDSource source, double[] ffGains,
double[] fbGains) {
super(source);
m_inputs = new CircularBuffer(ffGains.length);
m_outputs = new CircularBuffer(fbGains.length);