Changeset 4419 for trunk/gli/src/org/greenstone
- Timestamp:
- 2003-05-30T12:43:44+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/msm/MSMUtils.java
r4417 r4419 847 847 Metadata m1 = (Metadata) o1; 848 848 Metadata m2 = (Metadata) o2; 849 849 ///ystem.err.println("MSMUtils.compare(" + m1 + ", " + m2 + ") = "); 850 850 ElementWrapper e1 = m1.getElement(); 851 851 ElementWrapper e2 = m2.getElement(); 852 852 // First we compare the namespaces 853 853 result = e1.getNamespace().compareTo(e2.getNamespace()); 854 if(result == 0 ) {854 if(result == 0 && Gatherer.c_man != null && Gatherer.c_man.ready() && e1.getNamespace() != null) { 855 855 // Now, given both elements are in the same set, we compare the element ordering using methods in MetadataSet 856 856 MetadataSet set = Gatherer.c_man.getCollection().msm.getSet(e1.getNamespace());
Note:
See TracChangeset
for help on using the changeset viewer.