Skip to content

Commit 739b256

Browse files
committed
style: include UTAO_JUNIT_ASSERTION_ODDITIES_IMPOSSIBLE_NULL
1 parent a7eeee2 commit 739b256

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

spotbugs-exclude.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@
216216
<Match>
217217
<Bug pattern="UTAO_JUNIT_ASSERTION_ODDITIES_INEXACT_DOUBLE" />
218218
</Match>
219-
<Match>
220-
<Bug pattern="UTAO_JUNIT_ASSERTION_ODDITIES_IMPOSSIBLE_NULL" />
221-
</Match>
222219
<!-- find-sec-bugs -->
223220
<Match>
224221
<Bug pattern="PREDICTABLE_RANDOM" />

src/test/java/com/thealgorithms/compression/LZ78Test.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.thealgorithms.compression;
22

33
import static org.junit.jupiter.api.Assertions.assertEquals;
4-
import static org.junit.jupiter.api.Assertions.assertNotNull;
54
import static org.junit.jupiter.api.Assertions.assertTrue;
65

76
import java.util.List;
@@ -286,7 +285,6 @@ void testTokenStructure() {
286285
// All tokens should have valid indices (>= 0)
287286
for (LZ78.Token token : compressed) {
288287
assertTrue(token.index() >= 0);
289-
assertNotNull(token.nextChar());
290288
}
291289

292290
String decompressed = LZ78.decompress(compressed);

0 commit comments

Comments
 (0)