From 55d692d80a5700c108e10d63bee50d2413ad1b92 Mon Sep 17 00:00:00 2001 From: pacien Date: Thu, 1 Feb 2018 22:00:35 +0100 Subject: Remove useless cast Signed-off-by: pacien --- src/main/java/fr/umlv/java/wallj/viewer/Viewer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/fr/umlv/java/wallj/viewer/Viewer.java b/src/main/java/fr/umlv/java/wallj/viewer/Viewer.java index 0fee046..430bff7 100644 --- a/src/main/java/fr/umlv/java/wallj/viewer/Viewer.java +++ b/src/main/java/fr/umlv/java/wallj/viewer/Viewer.java @@ -28,7 +28,7 @@ import java.util.Objects; * @author Adam NAILI */ public final class Viewer { - private static final Duration FRAME_DURATION = Duration.ofMillis((long) 1000.0 / 60); + private static final Duration FRAME_DURATION = Duration.ofMillis(1000 / 60); private final Game currentGame; -- cgit v1.2.3