Files
processing4/core
Jordan Orelli 6f2b4ce9a9 fixes #2341 - inconsistent bounds checks
The core datastructure IntLost, FloatList, and StringList all have
unsafe .get methods that do not perform bounds checking. This is in
contrast to their .remove methods, which do perform bounds checking.
Prior to this patch, the following would print 0:

    IntList il = new IntList();
    println(il.get(5));

But if we tried to *remove* that element, we would get an
ArrayIndexOutOfBoundException:

    il.remove(5);

This patch causes calls to .get to throw exceptions instead of returning
0 (or null in the case of StringList) for uninitialized values.
2014-02-02 22:27:02 -05:00
..
2012-09-02 01:16:16 +00:00
2013-01-27 10:52:36 -05:00
2012-07-28 00:36:15 +00:00
2013-01-27 10:52:36 -05:00
2012-11-11 22:23:33 +00:00
2013-10-25 09:53:02 -04:00
2014-01-22 00:18:07 -05:00