commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [lang] Geronimo: New commons fodder
Date Thu, 14 Aug 2003 00:06:11 GMT
UnreachableStatementException - I like this (as the alternative is to use
InternalError, which is less descriptive). I think UnreachableCodeException
may be a better name however. lang 2.0 if possible.

CloneableObject - yes this is on the lang TODO (well something like this) -
lang 2.1.

String methods - case by case - lang 2.1

Java version detection - works differently (maybe better) Question is why
did they do it their way?



----- Original Message -----
From: "Henri Yandell" <bayard@generationjava.com>
> Just took a look at the source for geronimo [apache j2ee thingy]. Yet
> another String library etc etc :)
>
>
http://cvs.apache.org/viewcvs/incubator-geronimo/modules/common/src/java/org
/apache/geronimo/common/
>
> So.... a source of input to lang methinks. And a nice document to the Geri
> chaps to let them know that all their stuff is in Lang.
>
> Summary so far:
>
> CloneableObject i like
> NullArgumentException we've talked about this
> UnreachableStatementException not convinced
> Strings yet-another-StringUtils
>   EMPTY = ""
>   NEWLINE = LINE_SEPARATOR
>   A series of subst() methods. Akin to replace but with some odd variants.
>   Range inner class. Basically just IntRange. Used in an odd rangeOf
method.
>   split, join, count, pad, compare, isEmpty, capitalize, trim(String[])
>   nthIndexOf  [pretty sure we have this]
>   toURL [booo]
>   makeURLFromFileSpec [booo]
>
> and then in a sub-package platform:
>
> Constants  [SystemUtils basically]
>
> Hen
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


Mime
View raw message