From b6d4ace81dc228c4dbb5c5fc218e508cd97df5de Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Sun, 17 Mar 2019 16:46:17 +0100 Subject: [PATCH] fix java 6 support --- src/be/nikiroo/utils/test/SerialTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/be/nikiroo/utils/test/SerialTest.java b/src/be/nikiroo/utils/test/SerialTest.java index be8b3008..fdf59921 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(); } } -- 2.27.0