jdk/src/java.base/share/classes/java/time/Instant.java
changeset 38455 43fec67d51a3
parent 37880 60ec48925dc6
child 39343 3dbae815788f
--- a/jdk/src/java.base/share/classes/java/time/Instant.java	Fri May 20 15:50:20 2016 -0700
+++ b/jdk/src/java.base/share/classes/java/time/Instant.java	Tue Sep 29 17:28:44 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -342,7 +342,7 @@
      */
     public static Instant ofEpochMilli(long epochMilli) {
         long secs = Math.floorDiv(epochMilli, 1000);
-        int mos = (int)Math.floorMod(epochMilli, 1000);
+        int mos = Math.floorMod(epochMilli, 1000);
         return create(secs, mos * 1000_000);
     }