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-2324 fix and tests for comparison of Float.NaN scores
[jalview.git]
/
src
/
vamsas
/
objects
/
simple
/
JpredResult.java
diff --git
a/src/vamsas/objects/simple/JpredResult.java
b/src/vamsas/objects/simple/JpredResult.java
index
e0d7021
..
cc7cc67
100755
(executable)
--- a/
src/vamsas/objects/simple/JpredResult.java
+++ b/
src/vamsas/objects/simple/JpredResult.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
*
* This file is part of Jalview.
*
@@
-79,17
+79,18
@@
public class JpredResult extends vamsas.objects.simple.Result implements
private java.lang.Object __equalsCalc = null;
private java.lang.Object __equalsCalc = null;
+ @Override
public synchronized boolean equals(java.lang.Object obj)
{
public synchronized boolean equals(java.lang.Object obj)
{
- if (!(obj instanceof JpredResult))
+ if (obj == null)
{
return false;
}
{
return false;
}
- JpredResult other = (JpredResult) obj;
- if (obj == null)
+ if (!(obj instanceof JpredResult))
{
return false;
}
{
return false;
}
+ JpredResult other = (JpredResult) obj;
if (this == obj)
{
return true;
if (this == obj)
{
return true;
@@
-111,6
+112,7
@@
public class JpredResult extends vamsas.objects.simple.Result implements
private boolean __hashCodeCalc = false;
private boolean __hashCodeCalc = false;
+ @Override
public synchronized int hashCode()
{
if (__hashCodeCalc)
public synchronized int hashCode()
{
if (__hashCodeCalc)