Enable PMD rule UnnecessaryImport and fix violations
This commit is contained in:
parent
9d0703f898
commit
c75a8cb703
19 changed files with 15 additions and 58 deletions
|
|
@ -1,7 +1,5 @@
|
|||
package btools.util;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
/**
|
||||
* Memory efficient and lightning fast heap to get the lowest-key value of a set of key-object pairs
|
||||
*
|
||||
|
|
|
|||
|
|
@ -1,8 +1,5 @@
|
|||
package btools.util;
|
||||
|
||||
import java.util.Random;
|
||||
import java.util.HashSet;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,7 @@
|
|||
package btools.util;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
public class CheapAngleMeterTest {
|
||||
|
|
|
|||
|
|
@ -1,11 +1,10 @@
|
|||
package btools.util;
|
||||
|
||||
import java.util.Random;
|
||||
import java.io.*;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public class ReducedMedianFilterTest {
|
||||
@Test
|
||||
public void reducedMedianFilterTest() throws IOException {
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
package btools.util;
|
||||
|
||||
import java.util.Random;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class SortedHeapTest {
|
||||
@Test
|
||||
public void sortedHeapTest1() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue