Oh, I think it was because of all of the string equals comparisons that I did later, and I needed it as a string, not a character and wanted to do the conversion only once. Feel free to refactor if there is a clearer way. You could probably do a String.charAt and do a simple character == comparison and have it be just the same speed or faster as the String.equals() Either way we are probably not talking very slow methods. (This is probably just one of those useless optimizations).
Jeff Tulley ([EMAIL PROTECTED]) (801)861-5322 Novell, Inc., the leading provider of Net business solutions http://www.novell.com >>> [EMAIL PROTECTED] 3/1/02 1:46:39 AM >>> On Thu, 28 Feb 2002, Jeff Tulley <[EMAIL PROTECTED]> wrote: > I feel it is ready for prime-time and backwards compatible. Yes, looks that way - tests pass on Linux as well. Just one quick question: why did you define pathSeparatorStr instead of using File.pathSeparator? Stefan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
