mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Add UseConcurrentHashMap exception to PMD and clean NOPMDs (#1243)
This commit is contained in:
committed by
Peter Johnson
parent
139b1720b2
commit
a11fcb605d
@@ -57,6 +57,7 @@
|
||||
<exclude name="AvoidSynchronizedAtMethodLevel" />
|
||||
<exclude name="AvoidUsingVolatile" />
|
||||
<exclude name="DoNotUseThreads" />
|
||||
<exclude name="UseConcurrentHashMap" />
|
||||
</rule>
|
||||
|
||||
<rule ref="category/java/performance.xml">
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user