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-3407 redact Java 8 incompatible '<>' with anonymous inner classes
[jalview.git]
/
src
/
uk
/
ac
/
ebi
/
picr
/
model
/
UPEntry.java
diff --git
a/src/uk/ac/ebi/picr/model/UPEntry.java
b/src/uk/ac/ebi/picr/model/UPEntry.java
index
389d47e
..
c94bf15
100644
(file)
--- a/
src/uk/ac/ebi/picr/model/UPEntry.java
+++ b/
src/uk/ac/ebi/picr/model/UPEntry.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2b1)
- * 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.
*
@@
-198,15
+198,22
@@
public class UPEntry implements java.io.Serializable
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 == null)
+ {
+ return false;
+ }
if (!(obj instanceof UPEntry))
if (!(obj instanceof UPEntry))
+ {
return false;
return false;
+ }
UPEntry other = (UPEntry) obj;
UPEntry other = (UPEntry) obj;
- if (obj == null)
- return false;
if (this == obj)
if (this == obj)
+ {
return true;
return true;
+ }
if (__equalsCalc != null)
{
return (__equalsCalc == obj);
if (__equalsCalc != null)
{
return (__equalsCalc == obj);
@@
-236,6
+243,7
@@
public class UPEntry implements java.io.Serializable
private boolean __hashCodeCalc = false;
private boolean __hashCodeCalc = false;
+ @Override
public synchronized int hashCode()
{
if (__hashCodeCalc)
public synchronized int hashCode()
{
if (__hashCodeCalc)