Changeset 36146


Ignore:
Timestamp:
2022-05-09T09:38:02+12:00 (5 months ago)
Author:
kjdon
Message:

just added a check for null node when generating string representation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/util/XMLTools.java

    r35667 r36146  
    10541054    public static void xmlNodeToString(StringBuffer sb, Node e, boolean indent, String indentString, int depth)
    10551055    {
    1056 
     1056        if (e == null) {
     1057        return;
     1058        }
    10571059        if (e.getNodeType() == Node.CDATA_SECTION_NODE)
    10581060        {
Note: See TracChangeset for help on using the changeset viewer.