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:
b012462
)
JAL-2154 simplify expression
author
Jim Procter
<jprocter@issues.jalview.org>
Tue, 30 Aug 2016 15:16:35 +0000
(16:16 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Tue, 30 Aug 2016 15:16:35 +0000
(16:16 +0100)
src/jalview/util/DBRefUtils.java
patch
|
blob
|
history
diff --git
a/src/jalview/util/DBRefUtils.java
b/src/jalview/util/DBRefUtils.java
index
52629ed
..
a1f06e5
100755
(executable)
--- a/
src/jalview/util/DBRefUtils.java
+++ b/
src/jalview/util/DBRefUtils.java
@@
-534,7
+534,7
@@
public class DBRefUtils
{
return true;
}
- return (o1 == null ? o2.equals(o1) : o1.equals(o2));
+ return o1.equals(o2);
}
/**