You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Kevin Seguin <se...@motive.com> on 2002/01/18 21:58:35 UTC

[j-t-c] HexUtils.java no longer compiles for me...

without explicitly casting each entry in the HEX array to a byte, like this:

    public static final byte[] HEX = 
    { (byte)'0', (byte)'1', (byte)'2', (byte)'3',
      (byte)'4', (byte)'5', (byte)'6', (byte)'7',
      (byte)'8', (byte)'9', (byte)'a', (byte)'b',
      (byte)'c', (byte)'d', (byte)'e', (byte)'f' };

any objections to my checking this in?

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [j-t-c] HexUtils.java no longer compiles for me...

Posted by Remy Maucherat <re...@apache.org>.
> without explicitly casting each entry in the HEX array to a byte, like
this:
>
>     public static final byte[] HEX =
>     { (byte)'0', (byte)'1', (byte)'2', (byte)'3',
>       (byte)'4', (byte)'5', (byte)'6', (byte)'7',
>       (byte)'8', (byte)'9', (byte)'a', (byte)'b',
>       (byte)'c', (byte)'d', (byte)'e', (byte)'f' };
>
> any objections to my checking this in?

+1.
Note: It builds fine for me.

Remy


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>