Hi Joe, The logic differs because one of the cases does not allow for zero length whereas the other does.
Thanks, Brian On Jan 5, 2015, at 3:58 PM, Joseph D. Darcy <joe.da...@oracle.com> wrote: > The new version looks fine. One suggestion to consider: creating a small > private helper method to do the len, off, array-length check. (The two copies > of the logic are slightly different.)