git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3692 fix up test for 2.11.1 series datamodel API
[jalview.git]
/
src
/
vamsas
/
objects
/
simple
/
Secstructpred.java
diff --git
a/src/vamsas/objects/simple/Secstructpred.java
b/src/vamsas/objects/simple/Secstructpred.java
index
77fdd34
..
349c21e
100755
(executable)
--- a/
src/vamsas/objects/simple/Secstructpred.java
+++ b/
src/vamsas/objects/simple/Secstructpred.java
@@
-57,15
+57,15
@@
public class Secstructpred implements java.io.Serializable
public synchronized boolean equals(java.lang.Object obj)
{
public synchronized boolean equals(java.lang.Object obj)
{
- if (!(obj instanceof Secstructpred))
+ if (obj == null)
{
return false;
}
{
return false;
}
- Secstructpred other = (Secstructpred) obj;
- if (obj == null)
+ if (!(obj instanceof Secstructpred))
{
return false;
}
{
return false;
}
+ Secstructpred other = (Secstructpred) obj;
if (this == obj)
{
return true;
if (this == obj)
{
return true;