Thanks. That was easy. Is it possible to also get this applied to
T_2_1_BRANCH?

----- Original Message -----
From: "Jon Stevens" <[EMAIL PROTECTED]>
To: "turbine-dev" <[EMAIL PROTECTED]>
Sent: Tuesday, June 12, 2001 2:40 PM
Subject: Re: [Patch] DataStreamParser


> on 6/12/01 2:31 PM, "Kurt Grafius" <[EMAIL PROTECTED]> wrote:
>
> > Below is a patch for DataStreamParser against the T_2_1_BRANCH that
replaces
> > a system.out.println with a
> > write to the log system. This is my first patch submittal so give me a
shout
> > if I'm not following protocol. Thanks.
> >
> > Kurt
> >
> >
> > Index: DataStreamParser.java
> > ===================================================================
> > RCS file:
> >
/repository/tools/jakarta-turbine/src/java/org/apache/turbine/util/DataStrea
> > mParser.java,v
> > retrieving revision 1.1.1.1
> > diff -B -b -u -r1.1.1.1 DataStreamParser.java
> > --- DataStreamParser.java 2001/06/12 18:57:29 1.1.1.1
> > +++ DataStreamParser.java 2001/06/12 19:18:27
> > @@ -230,7 +230,7 @@
> >            {
> >                String colname = it.next().toString();
> >                String colval  = tokenizer.sval;
> > -                System.out.println(colname + "=" + colval);
> > +                Log.debug(colname + "=" + colval);
> >                lineValues.add(colname, colval);
> >            }
> >            tokenizer.nextToken();
>
> Done...except that you forgot an import. :-)
>
> -jon
>
> --
> "Open source is not available to commercial companies."
>             -Steve Ballmer, CEO Microsoft
> <http://www.suntimes.com/output/tech/cst-fin-micro01.html>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to