From: gmungoc Date: Tue, 13 Nov 2018 19:08:32 +0000 (+0000) Subject: JAL-3026 add equals() to test X-Git-Tag: Release_2_11_4_0~45^2~18^2~407^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cbd5753d121698582e3f87a4e2b4ad41f25b5c1c;p=jalview.git JAL-3026 add equals() to test --- diff --git a/utils/test/JalviewJSTest.java b/utils/test/JalviewJSTest.java index 91c93a4..a2026a8 100644 --- a/utils/test/JalviewJSTest.java +++ b/utils/test/JalviewJSTest.java @@ -43,6 +43,7 @@ public class JalviewJSTest extends JPanel File f1 = new File("/var/folders/y/xyz"); File f2 = new File("/var/folders/y/xyz"); map.put(f1, "hello world"); + System.out.println("f1.equals(f2) = " + f1.equals(f2)); System.out.println("f1 hashCode = " + f1.hashCode()); System.out.println("f2 hashCode = " + f2.hashCode()); System.out.println(map.get(f2));