Hi,

I'm creating some unit tests for StringUtils.estimateMemoryUsage() in
oak-commons, and in doing so I noticed that it returns a value of 48 for an
empty string.  Is this expected?

>From a naive point of view it would seem to me that a null string should
return 0, and likewise an empty string, but then again I don't know the
history behind the function as it is currently written.


-MR

Reply via email to