classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] Patch: support for reading directories viaURL.openConne


From: Michael Koch
Subject: Re: [cp-patches] Patch: support for reading directories viaURL.openConnection()
Date: Thu, 9 Sep 2004 17:37:11 +0200
User-agent: KMail/1.6.2

On Thursday 09 September 2004 17:07, Jeroen Frijters wrote:
> Michael Koch wrote:
> > I just commited the attached patch after a long discussion on IRC
> > (greetrings to mjw and bonniot) to fix bug #10282.
>
> Too bad it wasn't on the mailinglist ;-) I'd really like to see the
> static initializer removed, the lineSeparator is only used in an
> uncommon code path, so it's seems like a waste to get it ahead of
> time. Either get it lazily or use an inner class with a static
> initializer.
>
> Static initializers are quite expensive, so we should try to limit
> them as much as reasonable.

To be correct: I first had used no static initializer but Mark told me 
to use one ... Tell me to not follow what Mark suggests to me.

I will change this.


Michael




reply via email to

[Prev in Thread] Current Thread [Next in Thread]