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:
8743f0c
)
JAL-3397 skip instanceof check for JS's benefit
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 26 Sep 2019 08:52:47 +0000
(09:52 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 26 Sep 2019 08:52:47 +0000
(09:52 +0100)
src/jalview/analysis/CrossRef.java
patch
|
blob
|
history
diff --git
a/src/jalview/analysis/CrossRef.java
b/src/jalview/analysis/CrossRef.java
index
080f3e2
..
ecdd11e
100644
(file)
--- a/
src/jalview/analysis/CrossRef.java
+++ b/
src/jalview/analysis/CrossRef.java
@@
-640,8
+640,7
@@
public class CrossRef
@Override
public boolean equals(Object o)
{
- return o instanceof SequenceFeature
- && equals((SequenceFeature) o, true);
+ return equals((SequenceFeature) o, true);
}
};
matched.addSequenceFeature(newFeature);