Changeset 8368


Ignore:
Timestamp:
2004-10-19T09:43:27+13:00 (20 years ago)
Author:
mdewsnip
Message:

Specifically don't load the legacy hidden metadata set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/metadata/MetadataSetManager.java

    r8216 r8368  
    141141    {
    142142    MetadataSet metadata_set = new MetadataSet(metadata_set_file);
     143
     144    // Ignore legacy crap
     145    if (metadata_set.getNamespace().equals("hidden")) {
     146        return;
     147    }
     148
    143149    metadata_sets.add(metadata_set);
    144150    }
     
    154160    }
    155161
    156     // If there are no metadata sets loaded then there is nothing to map the element into
     162    // If there are no metadata sets (except extracted) loaded then there is nothing to map the element into
    157163    if (metadata_sets.size() <= 1) {
    158164        return null;
Note: See TracChangeset for help on using the changeset viewer.