From 5ba6c7782411b6978236622181f26a45cc3b6fee Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 25 May 2005 16:40:38 +0000 Subject: [PATCH] use getHexString in util --- src/jalview/io/HTMLOutput.java | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/jalview/io/HTMLOutput.java b/src/jalview/io/HTMLOutput.java index 76de744..50f7471 100755 --- a/src/jalview/io/HTMLOutput.java +++ b/src/jalview/io/HTMLOutput.java @@ -121,16 +121,9 @@ public class HTMLOutput if(color.getRGB()<-1) { - r = Integer.toHexString(color.getRed()); - if(r.length()<2) - r = "0"+r; - g = Integer.toHexString(color.getGreen()); - if(g.length()<2) - g = "0"+g; - b = Integer.toHexString(color.getBlue()); - if(b.length()<2) - b = "0"+b; - out.println(""+seq.getCharAt(res)+""); + out.println(""+seq.getCharAt(res)+""); } else out.println(""+seq.getCharAt(res)+""); -- 1.7.10.2