Need to check the other version of hexlate for null arguments as well.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@556 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2002-02-03 02:11:09 +00:00
parent 4e9914b55d
commit b436105dba
@@ -1,5 +1,5 @@
//
// $Id: StringUtil.java,v 1.23 2002/02/03 02:07:26 shaper Exp $
// $Id: StringUtil.java,v 1.24 2002/02/03 02:11:09 mdb Exp $
//
// samskivert library - useful routines for java programs
// Copyright (C) 2001 Michael Bayne
@@ -350,7 +350,7 @@ public class StringUtil
*/
public static String hexlate (byte[] bytes)
{
return hexlate(bytes, bytes.length);
return (bytes == null) ? "" : hexlate(bytes, bytes.length);
}
/**