Commit 377c7666 authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Remove redundant cast.

parent c4145430
......@@ -94,7 +94,7 @@ public class UptimeDocumentWriterTest {
assertEquals("Interval should be " + interval + " seconds.", interval,
(int) history.getInterval());
assertEquals("Factor should be 1.0 / 999.0.", 1.0 / 999.0,
(double) history.getFactor(), 0.01);
history.getFactor(), 0.01);
assertEquals("There should be " + count + " data points.", count,
(int) history.getCount());
assertEquals("Count should be the same as the number of values.",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment