commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <flame...@gmail.com>
Subject Re: svn commit: r1077934 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateUtils.java
Date Sat, 05 Mar 2011 07:03:24 GMT
On Fri, Mar 4, 2011 at 9:19 AM, Stephen Colebourne <scolebourne@joda.org> wrote:
> On 4 March 2011 17:15, sebb <sebbaz@gmail.com> wrote:
>> On 4 March 2011 13:30,  <scolebourne@apache.org> wrote:
>>> Log:
>>> Document mutability of UTC constant, which isn't ideal
>
>> AFAICT, it's not used within Lang3 - so why don't we just delete it ?
>>
>> Does it really offer much benefit, given the drawback of malicious or
>> accidental corruption?
>
> I'm strongly in favour of replacing this with either removing it or
> adding a static method that creates a new instance each time it is
> called.

+1.

I'm all for removing things. I don't see much harm from making this a
static method that creates a new instance though, I can see the vague
value in the feature.

Hen

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


Mime
View raw message