X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FAlignedCodonFrame.java;h=4fbfd62c26796f64fb6d9b1ab1cb335554ae7322;hb=86fd4dbafd6175d651fe569c0861de10029cc7b8;hp=326cc4ea6c8e5c921d0accd877acf2ed47042a6d;hpb=6395e8fc1fc6b33c3b305d74d9be3642dfca8417;p=jalview.git diff --git a/src/jalview/datamodel/AlignedCodonFrame.java b/src/jalview/datamodel/AlignedCodonFrame.java index 326cc4e..4fbfd62 100644 --- a/src/jalview/datamodel/AlignedCodonFrame.java +++ b/src/jalview/datamodel/AlignedCodonFrame.java @@ -93,8 +93,8 @@ public class AlignedCodonFrame return (this.fromSeq == that.fromSeq || (this.fromSeq != null && that.fromSeq != null && this.fromSeq.getDatasetSequence() != null && this.fromSeq - .getDatasetSequence() == that.fromSeq - .getDatasetSequence())) && this.mapping.equals(that.mapping); + .getDatasetSequence() == that.fromSeq.getDatasetSequence())) + && this.mapping.equals(that.mapping); } public SequenceI getFromSeq() @@ -301,7 +301,7 @@ public class AlignedCodonFrame * where highlighted regions go */ public void markMappedRegion(SequenceI seq, int index, - SearchResults results) + SearchResultsI results) { int[] codon; SequenceI ds = seq.getDatasetSequence(); @@ -719,8 +719,8 @@ public class AlignedCodonFrame } /** - * Returns the first mapping found that is between 'fromSeq' and 'toSeq', or null - * if none found + * Returns the first mapping found that is between 'fromSeq' and 'toSeq', or + * null if none found * * @param fromSeq * aligned or dataset sequence