git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6144773
)
JAL-3026 add equals() to test
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 13 Nov 2018 19:08:32 +0000
(19:08 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 13 Nov 2018 19:08:32 +0000
(19:08 +0000)
utils/test/JalviewJSTest.java
patch
|
blob
|
history
diff --git
a/utils/test/JalviewJSTest.java
b/utils/test/JalviewJSTest.java
index
91c93a4
..
a2026a8
100644
(file)
--- 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));