tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Adding utility classes
Date Fri, 03 Dec 2010 16:22:21 GMT
All,

There's an annoyance bug
(https://issues.apache.org/bugzilla/show_bug.cgi?id=49125) that requires
a utility to convert byte arrays into readable strings. I have a patch
that includes a method to do that, but I'm unsure of where that
"toHexString" method should go.

For now, I have placed it into
java/org/apache/tomcat/util/buf/HexUtils.java because that's where I
found other hex-encoding utility methods.

Is that an appropriate place? My only concern is that it's in the
"utils/buf" package when it's not necessarily targeted at the message
buffer code.

Thanks,
-chris


Mime
View raw message