Changeset 5937


Ignore:
Timestamp:
2003-11-24T11:45:26+13:00 (20 years ago)
Author:
jmt12
Message:

Test for null sources (such as a non-set default index) when changing MG to MGPP indexes

File:
1 edited

Legend:

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

    r5590 r5937  
    219219        }
    220220        content_elements = null;
    221         Collections.sort(sources);
     221        if(sources != null && sources.size() > 1) {
     222        Collections.sort(sources);
     223        }
    222224    }
    223225    return sources;
Note: See TracChangeset for help on using the changeset viewer.