fix java 6 support
authorNiki Roo <niki@nikiroo.be>
Sun, 17 Mar 2019 15:46:17 +0000 (16:46 +0100)
committerNiki Roo <niki@nikiroo.be>
Sun, 17 Mar 2019 15:46:17 +0000 (16:46 +0100)
src/be/nikiroo/utils/test/SerialTest.java

index be8b3008ebec5c7528e7ebfa5158239e600c285f..fdf599216bfb56522aa87f20efe7ef51c3bd951f 100644 (file)
@@ -299,7 +299,7 @@ class SerialTest extends TestLauncher {
 
                @Override
                public int hashCode() {
-                       return Integer.hashCode(value);
+                       return new Integer(value).hashCode();
                }
        }