aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorpacien2018-02-01 22:00:35 +0100
committerpacien2018-02-01 22:00:35 +0100
commit55d692d80a5700c108e10d63bee50d2413ad1b92 (patch)
treec1e86ce2e612d6d6a68bf7d5cfd36662880d4094 /src/main
parentdc8e3e8fbd8bfb9d0b3aeb8d76765afd4310d7e1 (diff)
downloadwallj-55d692d80a5700c108e10d63bee50d2413ad1b92.tar.gz
Remove useless cast
Signed-off-by: pacien <pacien.trangirard@pacien.net>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/fr/umlv/java/wallj/viewer/Viewer.java2
1 files changed, 1 insertions, 1 deletions
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;
28 * @author Adam NAILI 28 * @author Adam NAILI
29 */ 29 */
30public final class Viewer { 30public final class Viewer {
31 private static final Duration FRAME_DURATION = Duration.ofMillis((long) 1000.0 / 60); 31 private static final Duration FRAME_DURATION = Duration.ofMillis(1000 / 60);
32 32
33 private final Game currentGame; 33 private final Game currentGame;
34 34