diff options
author | pacien | 2018-02-01 22:00:35 +0100 |
---|---|---|
committer | pacien | 2018-02-01 22:00:35 +0100 |
commit | 55d692d80a5700c108e10d63bee50d2413ad1b92 (patch) | |
tree | c1e86ce2e612d6d6a68bf7d5cfd36662880d4094 /src/main | |
parent | dc8e3e8fbd8bfb9d0b3aeb8d76765afd4310d7e1 (diff) | |
download | wallj-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.java | 2 |
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 | */ |
30 | public final class Viewer { | 30 | public 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 | ||