Changeset 24007 for main/branches/64_bit_Greenstone/greenstone3/src/java/org/greenstone/gsdl3/core/MessageRouter.java
- Timestamp:
- 2011-05-09T14:37:04+12:00 (13 years ago)
- Location:
- main/branches/64_bit_Greenstone/greenstone3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/branches/64_bit_Greenstone/greenstone3
- Property svn:mergeinfo changed
-
main/branches/64_bit_Greenstone/greenstone3/src/java/org/greenstone/gsdl3/core/MessageRouter.java
r22085 r24007 44 44 45 45 import org.apache.log4j.*; 46 47 import org.apache.commons.lang3.StringUtils; 46 48 47 49 /** … … 271 273 // be passed to multiple modules - they will be in a comma 272 274 // separated list in the 'to' attribute 273 String [] modules = path.split(",");275 String [] modules = StringUtils.split(path, ","); 274 276 275 277 for (int j=0; j<modules.length; j++) { … … 619 621 //The collection name is returned as site_name:coll_name, which is in fact the set specification 620 622 ane.setAttribute(GSXML.NAME_ATT, site_name + ":" + col_name); 621 ane.setAttribute(OAIXML.LASTMODIFIED, "" + c.getLastmodified()); 622 623 ane.setAttribute(OAIXML.LASTMODIFIED, "" + c.getLastmodified()); 624 // lastmodified not of use anymore for OAI, perhaps useful as general information 625 ane.setAttribute(OAIXML.EARLIEST_DATESTAMP, "" + c.getEarliestDatestamp()); // for OAI 626 623 627 this.oai_collection_list.appendChild(ane); 624 628 //logger.info(GSXML.xmlNodeToString(oai_collection_list));
Note:
See TracChangeset
for help on using the changeset viewer.