From: Jim Procter Date: Wed, 15 Feb 2017 17:13:26 +0000 (+0000) Subject: JAL-2374 JAL-2419 - TODO suspiciously redundant nested if clauses probably need a... X-Git-Tag: Release_2_10_3b1~344^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fbug%2FJAL-2374_JAL-2419_overlappinggroups_currentselection_popupmenu;p=jalview.git JAL-2374 JAL-2419 - TODO suspiciously redundant nested if clauses probably need a cleanup --- diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index 55f23aa..37b4852 100644 --- a/src/jalview/gui/SeqPanel.java +++ b/src/jalview/gui/SeqPanel.java @@ -1645,6 +1645,7 @@ public class SeqPanel extends JPanel implements MouseListener, SliderPanel.setPIDSliderSource(ap, av.getResidueShading(), ap.getViewName()); } + // TODO: stretchGroup will always be not null. Is this a merge error ? if ((stretchGroup != null) && (stretchGroup.getEndRes() == res)) { // Edit end res position of selected group