Well the position changes again, but the desire to release remains constant. Here's what we know now:
Currently isEmpty() means trim, true for " ", "" or null Currently isNotEmpty() means not "" and not null (no trim) An incompatability on trim that we are trying to solve. a) Changing the current functionality of either isEmpty() or isNotEmpty() is not acceptable to the user base. Deprecation is the only way to change. b) The method 'isEmpty' is desired by different people to mean any of the three possibilities, - true for "" - true for "" or null - trim, true for " ", "" or null And of course trim is actually quite a bad method for stripping whitespace as it only strips chars <= 32. c) The term 'empty' is defined by Sun to mean "". d) The isXxxOrNull() naming is disliked as too long even though its clear. e) Similarly isEmptyTrimmed() naming is too long. f) More people want isEmpty() to be true for null than false. Please don't reply to this thread unless you disagree with one of the above. Stephen --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
