Changeset 18608

Show
Ignore:
Timestamp:
02.03.2009 15:09:09 (11 years ago)
Author:
kjdon
Message:

return null if we are asking for an index that does not exist, in getElementAt. HOpe this doesn't stuff up anything else

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/cdm/DOMProxyListModel.java

    r14039 r18608  
    216216        // Retrieve the required element 
    217217        Element element = (Element) children.item (index); 
     218    if (element == null) { 
     219      return null; 
     220    } 
    218221        DebugStream.println ("Element at index " + index + " not in cache: " + element); 
    219222