From: amwaterhouse Date: Thu, 10 Feb 2005 13:21:29 +0000 (+0000) Subject: remove try catch loop X-Git-Tag: Release_2_0~680 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=170c4f875570a1f17224b6cfea21ac696bfe3c6f;p=jalview.git remove try catch loop --- diff --git a/src/jalview/gui/FeatureRenderer.java b/src/jalview/gui/FeatureRenderer.java index d21b39e..6a0daa8 100755 --- a/src/jalview/gui/FeatureRenderer.java +++ b/src/jalview/gui/FeatureRenderer.java @@ -52,8 +52,7 @@ public class FeatureRenderer implements RendererI { for (int i = fstart; i <= fend; i++) { - try{ - g.setColor(Color.blue); + g.setColor(Color.blue); g.fillRect( (i-start) * width, y1, width, height); g.setColor(Color.white); @@ -64,8 +63,6 @@ public class FeatureRenderer implements RendererI g.drawString(String.valueOf(s), charOffset + x1 + width * (i-start), y1 + height - pady); - - }catch(Exception ex){System.out.println(i+" "+fstart+" "+fend+" " +sf.getDescription()+" "+seq.getName()+" "+seq.getLength()); } } } }