We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9e8c96 commit a3001e0Copy full SHA for a3001e0
sources/net.sf.j2s.java.core/src/java/time/Instant.java
@@ -1307,8 +1307,8 @@ public boolean equals(Object otherInstant) {
1307
* @return a suitable hash code
1308
*/
1309
@Override
1310
- public int hashCode() { // SwingJS 16 not 32 here
1311
- return ((int) (seconds ^ (seconds >>> 16))) + 51 * nanos;
+ public int hashCode() {
+ return ((int) (seconds ^ (seconds >>> 32))) + 51 * nanos;
1312
}
1313
1314
//-----------------------------------------------------------------------
0 commit comments