From 170c4f875570a1f17224b6cfea21ac696bfe3c6f Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 10 Feb 2005 13:21:29 +0000 Subject: [PATCH] remove try catch loop --- src/jalview/gui/FeatureRenderer.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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()); } } } } -- 1.7.10.2