JAL-3026 add equals() to test
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 13 Nov 2018 19:08:32 +0000 (19:08 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 13 Nov 2018 19:08:32 +0000 (19:08 +0000)
utils/test/JalviewJSTest.java

index 91c93a4..a2026a8 100644 (file)
@@ -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));