Changeset 23795 for main/trunk/greenstone3/src/java/org/greenstone/gsdl3
- Timestamp:
- 2011-03-15T17:10:29+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/collection/Collection.java
r23633 r23795 43 43 44 44 import org.apache.log4j.*; 45 46 // Apache Commons 47 import org.apache.commons.lang3.*; 45 48 46 49 /** … … 275 278 Element d = (Element) displaynodes.item(k); 276 279 String text = GSXML.getNodeText(d); 277 text = text.replaceAll("_httpsite_", http_site);278 text = text.replaceAll("_httpcollection_", http_collection);280 text = StringUtils.replace(text, "_httpsite_", http_site); 281 text = StringUtils.replace(text, "_httpcollection_", http_collection); 279 282 GSXML.setNodeText(d, text); 280 283 }
Note:
See TracChangeset
for help on using the changeset viewer.