On Tue, 27 Sep 2005, Henning P. Schmiedehausen wrote:
> [EMAIL PROTECTED] writes:
>
> Hi,
>
> >+ /**
> >+ * For debugging purposes. Formats the arguments from
> >+ * <code>argArray</code> and appends them to <code>buf</code>.
> >+ */
> >+ private static StringBuffer formatArgArray(StringBuffer buf,
> >+ String[] argArray)
> >+ {
> >+ buf.append(argArray[0]).append('(');
> >+ for (int i = 1; i < argArray.length; i++)
> >+ {
> >+ buf.append(' ').append(argArray[i]);
> >+ }
> >+ buf.append(" )");
> >+ return buf;
> > }
> > }
>
> That's almost the same code as you added to the factory logging. It
> might be a candidate for factoring out into a helper method.
Sure! I was using it to debug a VM loading problem a while back.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]