On Aug 17, 2012, at 10:58 AM, Иван Дунский <[email protected]> wrote:

>     for (int i=start; i<end; i++)

Instead of doing this I'd say you should also add boundary checks e.g;

for (int i=start; i<end && i<forPrint.size(); i++)

Or alternatively recalculate start and end so that they do not exceed array 
bounds.

--
H

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to