From: Jim Procter Date: Fri, 21 Jun 2013 16:20:03 +0000 (+0100) Subject: JAL-1230 comment unused code to avoid NPE X-Git-Tag: Jalview_2_9~231^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c4fe02bc3ba6d099e489d1efedc396fbe94b9829;p=jalview.git JAL-1230 comment unused code to avoid NPE --- diff --git a/src/jalview/gui/AnnotationPanel.java b/src/jalview/gui/AnnotationPanel.java index eb21dbc..169bff1 100755 --- a/src/jalview/gui/AnnotationPanel.java +++ b/src/jalview/gui/AnnotationPanel.java @@ -699,16 +699,11 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI, @Override public void mouseClicked(MouseEvent evt) { - if (activeRow != -1) - { - AlignmentAnnotation[] aa = av.getAlignment().getAlignmentAnnotation(); - AlignmentAnnotation anot = aa[activeRow]; - - if (anot.description.equals("secondary structure")) - { - // System.out.println(anot.description+" "+anot.getRNAStruc()); - } - } +// if (activeRow != -1) +// { +// AlignmentAnnotation[] aa = av.getAlignment().getAlignmentAnnotation(); +// AlignmentAnnotation anot = aa[activeRow]; +// } } // TODO mouseClicked-content and drawCursor are quite experimental!