On Tue, 2007-11-20 at 17:05 +0000, Matthew Toseland wrote:
> It should be possible to distinguish between "it existed but had 0
> length" and "it existed but was too long" ... we should return null,
> or throw an exception, or something .. ?
Maybe we should do something like this: If the input is too long, we
throw an Exception. If it's empty, we return an empty string. If it's
not present, we return null. (Equivalent with byte arrays.)
The best way would be to add new methods for that and deprecate the old
ones so that we can remove them at some point in the future, saying "we
told you so." :)
Bombe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20071121/62f20d0e/attachment.pgp>