From: amwaterhouse Date: Wed, 25 May 2005 16:40:38 +0000 (+0000) Subject: use getHexString in util X-Git-Tag: Release_2_0~188 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5ba6c7782411b6978236622181f26a45cc3b6fee;p=jalview.git use getHexString in util --- 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)+"");