X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fuk%2Fac%2Febi%2Fwww%2FWSFile.java;h=04dfe41008be614693958a243070b08b4db98885;hb=17e77c3f2949a0729322b4a8d907f3f34b6a9914;hp=8c56ecdb494331c6a972fca8af718cbdbcd90f40;hpb=ab43013b7e357b84b4abade0dba949668dfb2a0e;p=jalview.git diff --git a/src/uk/ac/ebi/www/WSFile.java b/src/uk/ac/ebi/www/WSFile.java index 8c56ecd..04dfe41 100755 --- a/src/uk/ac/ebi/www/WSFile.java +++ b/src/uk/ac/ebi/www/WSFile.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 2.9) + * Copyright (C) 2015 The Jalview Authors * * This file is part of Jalview. * @@ -52,17 +52,18 @@ public class WSFile implements java.io.Serializable private java.lang.Object __equalsCalc = null; + @Override public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof WSFile)) + if (obj == null) { return false; } - WSFile other = (WSFile) obj; - if (obj == null) + if (!(obj instanceof WSFile)) { return false; } + WSFile other = (WSFile) obj; if (this == obj) { return true; @@ -84,6 +85,7 @@ public class WSFile implements java.io.Serializable private boolean __hashCodeCalc = false; + @Override public synchronized int hashCode() { if (__hashCodeCalc)