commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <>
Subject [Lang] Strings' methods with String arguments
Date Tue, 18 Jun 2002 19:03:38 GMT
I have an admission of guilt. When I wrote the StringTaglib I had a host
of overloaded methods for Strings which took a String instead of an int
and converted appropriately.

With reflection, these seem entirely out of place. An example being:

Strings.repeat(String str, String number)

which translates number to an int and calls:

Strings.repeat(String str, int num).

I'd like to remove these from Strings, does anyone see any good reason to
keep them, or think that I should worry heavily about deprecation etc?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message