From: amwaterhouse Date: Tue, 30 Jan 2007 12:53:04 +0000 (+0000) Subject: Use util toHexString X-Git-Tag: Release_2_3~417 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=312a01c56639fe2d5a94a7918e6968955533afc5;hp=5d455c2d0b8b1ac94d82584e2885654693abb39f;p=jalview.git Use util toHexString --- diff --git a/src/jalview/io/HTMLOutput.java b/src/jalview/io/HTMLOutput.java index d676dea..32d8a1f 100755 --- a/src/jalview/io/HTMLOutput.java +++ b/src/jalview/io/HTMLOutput.java @@ -252,28 +252,7 @@ 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("" + + out.println("" + seq.getCharAt(res) + ""); } else