commit 377c7666bb481d7c44ca568bf05420c3b77989f6 Author: Karsten Loesing karsten.loesing@gmx.net Date: Mon Aug 20 15:54:53 2018 +0200
Remove redundant cast. --- .../java/org/torproject/onionoo/writer/UptimeDocumentWriterTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/torproject/onionoo/writer/UptimeDocumentWriterTest.java b/src/test/java/org/torproject/onionoo/writer/UptimeDocumentWriterTest.java index 2915a04..2f322bd 100644 --- a/src/test/java/org/torproject/onionoo/writer/UptimeDocumentWriterTest.java +++ b/src/test/java/org/torproject/onionoo/writer/UptimeDocumentWriterTest.java @@ -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.",
tor-commits@lists.torproject.org