You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <gg...@seagullsoftware.com> on 2006/03/07 20:46:10 UTC

[lang] lazy load of PADDING in StringUtils and Release

Hello:

Can we take care of this PADDING issue and think of a release? It's been
too long IMO. Are there any roadblocks?

Gary

> -----Original Message-----
> From: Henri Yandell [mailto:flamefew@gmail.com]
> Sent: Sunday, March 05, 2006 11:34 PM
> To: Jakarta Commons Developers List
> Subject: [lang] lazy load of PADDING in StringUtils
> 
> Anyone against switching the PADDING variable to lazily load in the
> padding function?
> 
> http://issues.apache.org/bugzilla/show_bug.cgi?id=38792
> 
> Hen
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 


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


Re: [lang] lazy load of PADDING in StringUtils and Release

Posted by Henri Yandell <fl...@gmail.com>.
Dunno yet, I'm just starting to go through the issues. Abougt 33% of
them are new since the last release I think.

Another question - 2.2 or 3.0?

Hen

On 3/7/06, Gary Gregory <gg...@seagullsoftware.com> wrote:
> Hello:
>
> Can we take care of this PADDING issue and think of a release? It's been
> too long IMO. Are there any roadblocks?
>
> Gary
>
> > -----Original Message-----
> > From: Henri Yandell [mailto:flamefew@gmail.com]
> > Sent: Sunday, March 05, 2006 11:34 PM
> > To: Jakarta Commons Developers List
> > Subject: [lang] lazy load of PADDING in StringUtils
> >
> > Anyone against switching the PADDING variable to lazily load in the
> > padding function?
> >
> > http://issues.apache.org/bugzilla/show_bug.cgi?id=38792
> >
> > Hen
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>

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


Re: [lang] lazy load of PADDING in StringUtils and Release

Posted by Stephen Colebourne <sc...@btopenworld.com>.
I think there is still work in the text package, notably on the formatter.

Stephen


Gary Gregory wrote:
> Hello:
> 
> Can we take care of this PADDING issue and think of a release? It's been
> too long IMO. Are there any roadblocks?
> 
> Gary
> 
> 
>>-----Original Message-----
>>From: Henri Yandell [mailto:flamefew@gmail.com]
>>Sent: Sunday, March 05, 2006 11:34 PM
>>To: Jakarta Commons Developers List
>>Subject: [lang] lazy load of PADDING in StringUtils
>>
>>Anyone against switching the PADDING variable to lazily load in the
>>padding function?
>>
>>http://issues.apache.org/bugzilla/show_bug.cgi?id=38792
>>
>>Hen
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 

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


Re: [lang] lazy load of PADDING in StringUtils and Release

Posted by Sandy McArthur <sa...@apache.org>.
On 3/7/06, Stephen Colebourne <sc...@btopenworld.com> wrote:
> If you commit
> - remove the cache - its a bad idea

by cache do you mean PADDING? yea, that is gone.

> - use o.a.c.l.StrBuilder not StringBuffer its non-sync

I actually just now decied it will be fastest to just create and fill
a char[] array and then return new String(char[]) that.

> Stephen
>
>
> Sandy McArthur wrote:
> > Since no one seems to object I'll commit what I described here shortly:
> > http://issues.apache.org/bugzilla/show_bug.cgi?id=38792#c3
> >
> > On 3/7/06, Gary Gregory <gg...@seagullsoftware.com> wrote:
> >
> >>Hello:
> >>
> >>Can we take care of this PADDING issue and think of a release? It's been
> >>too long IMO. Are there any roadblocks?
> >>
> >>Gary
> >>
> >>
> >>>-----Original Message-----
> >>>From: Henri Yandell [mailto:flamefew@gmail.com]
> >>>Sent: Sunday, March 05, 2006 11:34 PM
> >>>To: Jakarta Commons Developers List
> >>>Subject: [lang] lazy load of PADDING in StringUtils
> >>>
> >>>Anyone against switching the PADDING variable to lazily load in the
> >>>padding function?
> >>>
> >>>http://issues.apache.org/bugzilla/show_bug.cgi?id=38792
> >>>
> >>>Hen
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> >>>For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >>>
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >>
> >>
> >
> >
> >
> > --
> > Sandy McArthur
> >
> > "He who dares not offend cannot be honest."
> > - Thomas Paine
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>


--
Sandy McArthur

"He who dares not offend cannot be honest."
- Thomas Paine

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


Re: [lang] lazy load of PADDING in StringUtils and Release

Posted by Stephen Colebourne <sc...@btopenworld.com>.
If you commit
- remove the cache - its a bad idea
- use o.a.c.l.StrBuilder not StringBuffer its non-sync

Stephen


Sandy McArthur wrote:
> Since no one seems to object I'll commit what I described here shortly:
> http://issues.apache.org/bugzilla/show_bug.cgi?id=38792#c3
> 
> On 3/7/06, Gary Gregory <gg...@seagullsoftware.com> wrote:
> 
>>Hello:
>>
>>Can we take care of this PADDING issue and think of a release? It's been
>>too long IMO. Are there any roadblocks?
>>
>>Gary
>>
>>
>>>-----Original Message-----
>>>From: Henri Yandell [mailto:flamefew@gmail.com]
>>>Sent: Sunday, March 05, 2006 11:34 PM
>>>To: Jakarta Commons Developers List
>>>Subject: [lang] lazy load of PADDING in StringUtils
>>>
>>>Anyone against switching the PADDING variable to lazily load in the
>>>padding function?
>>>
>>>http://issues.apache.org/bugzilla/show_bug.cgi?id=38792
>>>
>>>Hen
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>>
>>
> 
> 
> 
> --
> Sandy McArthur
> 
> "He who dares not offend cannot be honest."
> - Thomas Paine
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 

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


Re: [lang] lazy load of PADDING in StringUtils and Release

Posted by Sandy McArthur <sa...@gmail.com>.
Since no one seems to object I'll commit what I described here shortly:
http://issues.apache.org/bugzilla/show_bug.cgi?id=38792#c3

On 3/7/06, Gary Gregory <gg...@seagullsoftware.com> wrote:
> Hello:
>
> Can we take care of this PADDING issue and think of a release? It's been
> too long IMO. Are there any roadblocks?
>
> Gary
>
> > -----Original Message-----
> > From: Henri Yandell [mailto:flamefew@gmail.com]
> > Sent: Sunday, March 05, 2006 11:34 PM
> > To: Jakarta Commons Developers List
> > Subject: [lang] lazy load of PADDING in StringUtils
> >
> > Anyone against switching the PADDING variable to lazily load in the
> > padding function?
> >
> > http://issues.apache.org/bugzilla/show_bug.cgi?id=38792
> >
> > Hen
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>


--
Sandy McArthur

"He who dares not offend cannot be honest."
- Thomas Paine

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