Test Blame

src/test/java/org/apache/commons/jxpath/util/ValueUtilsTest.java
TagDateBlameLineSource
  latest    Tue Nov 24 16:21:28 UTC 2015    4787cc  29
    public void testGetValueFromArrayTooSmall() {
  latest    Tue Nov 24 16:21:28 UTC 2015    4787cc  30
        assertNull(ValueUtils.getValue(new Object[0], 2));
  latest    Tue Nov 24 16:21:28 UTC 2015    4787cc  31
    }

Found Source Blame

src/main/java/org/apache/commons/jxpath/util/ValueUtils.java
TagDateBlameLineSource
  jwsdp_10_ea2_01    Thu Aug 23 00:47:02 UTC 2001    bc53a6  44
    private static Map dynamicPropertyHandlerMap = new HashMap();
  JXPATH_1_2    Sun Apr 04 22:06:36 UTC 2004    755483  292
        collection = getValue(collection);
  jwsdp_10_ea2_01    Thu Aug 23 00:47:02 UTC 2001    bc53a6  293
        Object value = collection;
  JXPATH_1_1_BETA_1    Sat Jan 11 05:41:27 UTC 2003    2327c4  294
        if (collection != null) {
  JXPATH_1_1_BETA_1    Sat Jan 11 05:41:27 UTC 2003    2327c4  295
            if (collection.getClass().isArray()) {
  JXPATH_1_1_BETA_1    Sat Jan 11 05:41:27 UTC 2003    2327c4  296
                if (index < 0 || index >= Array.getLength(collection)) {
  JXPATH_1_1_BETA_1    Wed Apr 10 03:40:21 UTC 2002    34b7a4  297
                    return null;
  JXPATH_1_2    Sun Apr 04 22:06:36 UTC 2004    755483  528
        while (object instanceof Container) {
  JXPATH_1_2    Sun Apr 04 22:06:36 UTC 2004    755483  531
        return object;