From: Niki Roo Date: Sun, 17 Mar 2019 15:46:17 +0000 (+0100) Subject: fix java 6 support X-Git-Tag: fanfix-3.0.1~29^2~172^2 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=b6d4ace81dc228c4dbb5c5fc218e508cd97df5de;p=fanfix.git fix java 6 support --- diff --git a/src/be/nikiroo/utils/test/SerialTest.java b/src/be/nikiroo/utils/test/SerialTest.java index be8b300..fdf5992 100644 --- a/src/be/nikiroo/utils/test/SerialTest.java +++ b/src/be/nikiroo/utils/test/SerialTest.java @@ -299,7 +299,7 @@ class SerialTest extends TestLauncher { @Override public int hashCode() { - return Integer.hashCode(value); + return new Integer(value).hashCode(); } }