X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fvamsas%2Fobjects%2Fsimple%2FSequence.java;h=0615c3944f1498e8bdc30ece8db6117dd1defb8d;hb=e9a1c2c372f4bbf6cf658de3dba73ef326b20c20;hp=66fc2c527456d231295d60c6f06eb9fc8336ee56;hpb=c19d2a91ca05e052e3408bf5852d88eb5d0608f1;p=jalview.git diff --git a/src/vamsas/objects/simple/Sequence.java b/src/vamsas/objects/simple/Sequence.java index 66fc2c5..0615c39 100755 --- a/src/vamsas/objects/simple/Sequence.java +++ b/src/vamsas/objects/simple/Sequence.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2) - * Copyright (C) 2015 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. * @@ -101,10 +101,11 @@ public class Sequence implements java.io.Serializable __equalsCalc = obj; boolean _equals; _equals = true - && ((this.id == null && other.getId() == null) || (this.id != null && this.id - .equals(other.getId()))) - && ((this.seq == null && other.getSeq() == null) || (this.seq != null && this.seq - .equals(other.getSeq()))); + && ((this.id == null && other.getId() == null) + || (this.id != null && this.id.equals(other.getId()))) + && ((this.seq == null && other.getSeq() == null) + || (this.seq != null + && this.seq.equals(other.getSeq()))); __equalsCalc = null; return _equals; }