Enable PMD rule LooseCoupling and fix violations

This commit is contained in:
Manuel Fuhr 2022-11-13 12:38:30 +01:00
parent c75a8cb703
commit 30be64cbbe
26 changed files with 64 additions and 50 deletions

View file

@ -1,6 +1,7 @@
package btools.util;
import java.util.ArrayList;
import java.util.List;
/**
* Special Memory efficient Map to map a long-key to
@ -16,7 +17,7 @@ import java.util.ArrayList;
* @author ab
*/
public class DenseLongMap {
private ArrayList<byte[]> blocklist = new ArrayList<byte[]>(4096);
private List<byte[]> blocklist = new ArrayList<byte[]>(4096);
private int blocksize; // bytes per bitplane in one block
private int blocksizeBits;