Changeset 19443


Ignore:
Timestamp:
05/13/09 15:00:01 (12 years ago)
Author:
kjdon
Message:

made ex metadata always go to bottom of Enrich pane

File:
1 edited

Legend:

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

    r12146 r19443  
    5252    // First compare the namespaces of the two metadata elements
    5353    if (!metadata_element_a.getNamespace().equals(metadata_element_b.getNamespace())) {
    54         return metadata_element_a.getNamespace().compareTo(metadata_element_b.getNamespace());
     54      if (metadata_element_a.getNamespace().equals(EXTRACTED_METADATA_NAMESPACE)) {
     55        return 1;
     56      }
     57      if (metadata_element_b.getNamespace().equals(EXTRACTED_METADATA_NAMESPACE)) {
     58        return -1;
     59      }
     60      return metadata_element_a.getNamespace().compareTo(metadata_element_b.getNamespace());
    5561    }
    5662
Note: See TracChangeset for help on using the changeset viewer.