From cbd5753d121698582e3f87a4e2b4ad41f25b5c1c Mon Sep 17 00:00:00 2001 From: gmungoc Date: Tue, 13 Nov 2018 19:08:32 +0000 Subject: [PATCH] JAL-3026 add equals() to test --- utils/test/JalviewJSTest.java | 1 + 1 file changed, 1 insertion(+) 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)); -- 1.7.10.2