commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [bcel] console logging
Date Sat, 11 Jun 2016 01:18:05 GMT
On 11 June 2016 at 01:41, Gary Gregory <garydgregory@gmail.com> wrote:
> On Fri, Jun 10, 2016 at 4:33 PM, sebb <sebbaz@gmail.com> wrote:
>
>> On 11 June 2016 at 00:15, Gary Gregory <garydgregory@gmail.com> wrote:
>> > I see this in [bcel]:
>> >
>> >             System.out.println(buf.toString());
>> >             e.printStackTrace();
>> >
>> > Should that be left in there or removed?
>>
>> Where is it?
>>
>
> org.apache.bcel.classfile.Utility.codeToString(byte[], ConstantPool, int,
> int, boolean)
>
> there are a LOT of references to System.out.

I counted ONE.
System.err = 2

There are lots of calls to out.println but out is provided by the caller.

> Gary
>
>
>>
>> > Gary
>> >
>> > --
>> > E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> > Java Persistence with Hibernate, Second Edition
>> > <http://www.manning.com/bauer3/>
>> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> > Spring Batch in Action <http://www.manning.com/templier/>
>> > Blog: http://garygregory.wordpress.com
>> > Home: http://garygregory.com/
>> > Tweet! http://twitter.com/GaryGregory
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message