Changeset 8236 for trunk/gli/src/org/greenstone/gatherer/cdm/Index.java
- Timestamp:
- 2004-10-08T09:46:12+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/Index.java
r8015 r8236 28 28 29 29 import java.util.*; 30 import org.greenstone.gatherer.DebugStream; 30 31 import org.greenstone.gatherer.Gatherer; 31 32 import org.greenstone.gatherer.cdm.CollectionConfiguration; … … 77 78 Object source_object = sources.get(i); 78 79 if(source_object instanceof ElementWrapper) { 79 /// Gatherer.println("Found ElementWrapper as source: " + ((ElementWrapper)source_object).getName());80 ///DebugStream.println("Found ElementWrapper as source: " + ((ElementWrapper)source_object).getName()); 80 81 content_element.setAttribute(CollectionConfiguration.NAME_ATTRIBUTE, ((ElementWrapper)source_object).getName()); 81 82 } 82 83 else { 83 /// Gatherer.println("Found String as source: " + source_object.toString());84 ///DebugStream.println("Found String as source: " + source_object.toString()); 84 85 content_element.setAttribute(CollectionConfiguration.NAME_ATTRIBUTE, source_object.toString()); 85 86 } … … 254 255 } 255 256 else { 256 Gatherer.println("Error! Called setLevel() of index other than the default.");257 DebugStream.println("Error! Called setLevel() of index other than the default."); 257 258 } 258 259 } … … 271 272 Object source_object = sources.get(i); 272 273 if(source_object instanceof ElementWrapper) { 273 // Gatherer.println("Found ElementWrapper as source: " + ((ElementWrapper)source_object).getName());274 //DebugStream.println("Found ElementWrapper as source: " + ((ElementWrapper)source_object).getName()); 274 275 String name = ((ElementWrapper)source_object).getName(); 275 276 content_element.setAttribute(CollectionConfiguration.NAME_ATTRIBUTE, name); … … 277 278 } 278 279 else { 279 // Gatherer.println("Found String as source: " + source_object.toString());280 //DebugStream.println("Found String as source: " + source_object.toString()); 280 281 content_element.setAttribute(CollectionConfiguration.NAME_ATTRIBUTE, source_object.toString()); 281 282 } … … 288 289 } 289 290 else { 290 Gatherer.println("Error! Called setSource() of index other than the default.");291 DebugStream.println("Error! Called setSource() of index other than the default."); 291 292 } 292 293 }
Note:
See TracChangeset
for help on using the changeset viewer.