Skip to content

Commit c94991c

Browse files
authored
Merge branch 'master' into master
2 parents da64677 + 7f60d57 commit c94991c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

spotbugs-exclude.xml

Lines changed: 0 additions & 3 deletions
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

Lines changed: 1 addition & 1 deletion
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)