Changeset 12282
- Timestamp:
- 2006-07-24T13:45:17+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/Subcollection.java
r9193 r12282 249 249 */ 250 250 public String toString() { 251 if(text == null && element != null) { 252 text = CollectionConfiguration.toString(element, true); 253 } 251 if(text == null) {// && element != null) { 252 253 StringBuffer new_text = new StringBuffer(getName()); 254 new_text.append(StaticStrings.SPACE_CHARACTER); 255 new_text.append(StaticStrings.SPEECH_CHARACTER); 256 if (!isInclusive()) { 257 new_text.append(StaticStrings.EXCLAMATION_CHARACTER); 258 } 259 new_text.append(getSource()); 260 new_text.append(StaticStrings.SEPARATOR_CHARACTER); 261 new_text.append(getPattern()); 262 new_text.append(StaticStrings.SEPARATOR_CHARACTER); 263 new_text.append(getFlags()); 264 new_text.append(StaticStrings.SPEECH_CHARACTER); 265 text = new_text.toString(); 266 } 267 254 268 return text; 255 269 }
Note:
See TracChangeset
for help on using the changeset viewer.