commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
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?

Hen


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


Mime
View raw message