You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Geir Magnusson Jr." <ge...@optonline.net> on 2001/07/02 05:21:07 UTC

Re: [PATCH] org.apache.velocity.util.StringUtils

done

robert burrell donkin wrote:
> 
> the removeUnderScores method doesn't quite do what you might expect from
> the documentation - it not only removes underscores and capitalizes but
> it also un-capitalizes (some) other capitals in the string.
> 
> since this isn't really a bug, this patch contains improved doc comments
> for this method (and for firstLetterCaps) plus removeAndHump and
> capitalizeFirstLetter methods that are similar to the above methods but
> which leave the other capitalization alone.
> 
> - robert
> 
>   ------------------------------------------------------------------------
>                             Name: StringUtils_patch.txt
>    StringUtils_patch.txt    Type: Plain Text (text/plain)
>                         Encoding: quoted-printable

-- 
Geir Magnusson Jr.                           geirm@optonline.net
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
You have a genius for suggesting things I've come a cropper with!