kopia lustrzana https://github.com/JOSM/MapWithAI
MergeDuplicateWaysTest: FIXUP sonar issue
Signed-off-by: Taylor Smock <tsmock@fb.com>pull/1/head
rodzic
99d1b61ab9
commit
e8b5a1cdad
|
@ -218,7 +218,7 @@ public class MergeDuplicateWaysTest {
|
|||
assertFalse(MergeDuplicateWays.checkDirection(set), "The direction is not the same");
|
||||
pair1.b.a = pair1.b.a - 2;
|
||||
|
||||
assertThrows(NullPointerException.class, () -> assertNull(MergeDuplicateWays.checkDirection(null)),
|
||||
assertThrows(NullPointerException.class, () -> MergeDuplicateWays.checkDirection(null),
|
||||
"Throw an NPE if the argument is null");
|
||||
|
||||
assertFalse(MergeDuplicateWays.checkDirection(Collections.emptySet()),
|
||||
|
|
Ładowanie…
Reference in New Issue