Skip to content

Commit 7c0199f

Browse files
committed
style: include NAB_NEEDLESS_BOX_TO_UNBOX
1 parent 7a5a9e3 commit 7c0199f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

spotbugs-exclude.xml

-3
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,6 @@
165165
<Match>
166166
<Bug pattern="DSOC_DUBIOUS_SET_OF_COLLECTIONS" />
167167
</Match>
168-
<Match>
169-
<Bug pattern="NAB_NEEDLESS_BOX_TO_UNBOX" />
170-
</Match>
171168
<Match>
172169
<Bug pattern="FPL_FLOATING_POINT_LOOPS" />
173170
</Match>

src/test/java/com/thealgorithms/misc/MedianOfRunningArrayTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,6 @@ public void testWithDoubleValues() {
196196
stream.insert(12345.67891);
197197
assertEquals(12345.67891, stream.median());
198198
stream.insert(23456789.98);
199-
assertEquals(Double.valueOf(11734567.83), stream.median(), .01);
199+
assertEquals(11734567.83, stream.median(), .01);
200200
}
201201
}

0 commit comments

Comments
 (0)