From: Jim Procter Date: Mon, 18 Jul 2016 08:22:18 +0000 (+0100) Subject: JAL-2145 JAL-1551 formatting X-Git-Tag: Release_2_10_0~138^2~10 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=51e084651cb62b4d7597b2b448c8529d3ab60cca;p=jalview.git JAL-2145 JAL-1551 formatting --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 48bd998..3736791 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -4691,8 +4691,8 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, * @param source * the database to show cross-references for */ - protected void showProductsFor(final SequenceI[] sel, final boolean _odna, - final String source) + protected void showProductsFor(final SequenceI[] sel, + final boolean _odna, final String source) { Runnable foo = new Runnable() { @@ -4711,7 +4711,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, AlignmentI dataset = alignment.getDataset() == null ? alignment : alignment.getDataset(); boolean dna = alignment.isNucleotide(); - if (_odna!=dna) + if (_odna != dna) { System.err .println("Conflict: showProducts for alignment originally " @@ -4720,8 +4720,8 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, + " now searching for " + (dna ? "DNA" : "Protein") + " Context."); } - AlignmentI xrefs = new CrossRef(sel, dataset) - .findXrefSequences(source, dna); + AlignmentI xrefs = new CrossRef(sel, dataset).findXrefSequences( + source, dna); if (xrefs == null) { return;