mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-07 01:35:16 +08:00
style: include NAB_NEEDLESS_BOX_TO_UNBOX
(#5488)
This commit is contained in:
@ -165,9 +165,6 @@
|
|||||||
<Match>
|
<Match>
|
||||||
<Bug pattern="DSOC_DUBIOUS_SET_OF_COLLECTIONS" />
|
<Bug pattern="DSOC_DUBIOUS_SET_OF_COLLECTIONS" />
|
||||||
</Match>
|
</Match>
|
||||||
<Match>
|
|
||||||
<Bug pattern="NAB_NEEDLESS_BOX_TO_UNBOX" />
|
|
||||||
</Match>
|
|
||||||
<Match>
|
<Match>
|
||||||
<Bug pattern="FPL_FLOATING_POINT_LOOPS" />
|
<Bug pattern="FPL_FLOATING_POINT_LOOPS" />
|
||||||
</Match>
|
</Match>
|
||||||
|
@ -196,6 +196,6 @@ public class MedianOfRunningArrayTest {
|
|||||||
stream.insert(12345.67891);
|
stream.insert(12345.67891);
|
||||||
assertEquals(12345.67891, stream.median());
|
assertEquals(12345.67891, stream.median());
|
||||||
stream.insert(23456789.98);
|
stream.insert(23456789.98);
|
||||||
assertEquals(Double.valueOf(11734567.83), stream.median(), .01);
|
assertEquals(11734567.83, stream.median(), .01);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user