[Building Sakai] K1 - uitils rationalization?

David Horwitz david.horwitz at uct.ac.za
Fri Jun 5 02:50:24 PDT 2009


Hi Matthew,

Yes I missed that

JVM:

String.split(String regex)

Though the method we have is the same as (functionaly):

StringUtils.split(String string)

>From commons lang.

Agreed though if there is a specific reason for keeping a sakai
specificcode it should be clearly noted in the javadoc

David



Matthew Buckett wrote:
> 2009/6/5 David Horwitz <david.horwitz at uct.ac.za>:
>   
>> 6) StringUtils.split - "Like jdk1.4's String.split..." the javadoc says
>> it all this is now in the jvm
>>     
>
> I think String.split() uses a Regex which is significantly slower than
> scanning for a fixed string to split on. It would be good to Javadoc
> this if it is left in.
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090605/18e10cb9/attachment.html 


More information about the sakai-dev mailing list